aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/doc_reform.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc_reform/doc_reform.d')
-rwxr-xr-xsrc/doc_reform/doc_reform.d5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/doc_reform/doc_reform.d b/src/doc_reform/doc_reform.d
index 1d39909..30b79a9 100755
--- a/src/doc_reform/doc_reform.d
+++ b/src/doc_reform/doc_reform.d
@@ -95,6 +95,7 @@ void main(string[] args) {
"section_blurb" : true,
"backmatter" : true,
"skip-output" : false,
+ "workon" : false,
];
string[string] settings = [
"output-dir" : "",
@@ -142,6 +143,7 @@ void main(string[] args) {
"section-blurb", "--section-blurb process document blurb (default)", &opts["section_blurb"],
"backmatter", "--section-backmatter process document backmatter (default)", &opts["backmatter"],
"skip-output", "--skip-output", &opts["skip-output"],
+ "workon", "--workon (reserved for some matters under development & testing)", &opts["workon"],
"output-dir", "--output-dir=[dir path]", &settings["output-dir"],
"site-config-dir", "--site-config-dir=[dir path]", &settings["site-config-dir"],
"sqlite-filename", "--sqlite-filename=[filename].sqlite", &settings["sqlite-filename"],
@@ -310,6 +312,9 @@ void main(string[] args) {
auto skip_output() {
return opts["skip-output"];
}
+ auto workon() {
+ return opts["workon"];
+ }
auto languages_set() {
return settings["lang"].split(",");
}