aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/spine.org
diff options
context:
space:
mode:
Diffstat (limited to 'org/spine.org')
-rw-r--r--org/spine.org7
1 files changed, 6 insertions, 1 deletions
diff --git a/org/spine.org b/org/spine.org
index ea133cc..4423f97 100644
--- a/org/spine.org
+++ b/org/spine.org
@@ -348,6 +348,7 @@ bool[string] opts = [
"debug-stages" : false,
"digest" : false,
"epub" : false,
+ "generated-by" : false,
"curate" : false,
"curate-authors" : false,
"curate-topics" : false,
@@ -461,6 +462,7 @@ auto helpInfo = getopt(args,
"dark", "alternative dark theme", &opts["dark"],
"digest", "hash digest for each object", &opts["digest"],
"epub", "process epub output", &opts["epub"],
+ "generated-by", "generated by headers (software version & time)", &opts["generated-by"],
"hide-ocn", "object cite numbers", &opts["hide-ocn"],
"html", "process html output", &opts["html"],
"html-link-curate", "place links back to curate in segmented html", &opts["html-link-curate"],
@@ -468,7 +470,7 @@ auto helpInfo = getopt(args,
"html-seg", "process html output", &opts["html-seg"],
"html-scroll", "process html output", &opts["html-scroll"],
"lang", "=[lang code e.g. =en or =en,es]", &settings["lang"],
- "latex", "output for pdfs", &opts["latex"],
+ "latex", "latex output (for pdfs)", &opts["latex"],
"latex-color-links", "mono or color links for pdfs", &opts["latex-color-links"],
"light", "default light theme", &opts["light"],
"manifest", "process manifest output", &opts["manifest"],
@@ -633,6 +635,9 @@ struct OptActions {
@trusted bool epub() {
return opts["epub"];
}
+ @trusted bool generated_by() {
+ return opts["generated-by"];
+ }
@trusted bool html_curate_link() {
return (opts["html-link-curate"]) ? true : false;
}