aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/doc_reform.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2018-11-08 22:39:07 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2019-04-10 15:14:15 -0400
commit18b44eb25e8a8521eadd5e73a4e82bbee954e744 (patch)
tree5a53c7f9df7bba8d477572ea382c91e195e9015c /src/doc_reform/doc_reform.d
parentxmls more on anchor tags, scroll fix where no ocn (diff)
--workon flag, for some under construction codedoc-reform_v0.3.1
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(",");
}