diff options
Diffstat (limited to 'src/doc_reform/spine.d')
-rwxr-xr-x | src/doc_reform/spine.d | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/doc_reform/spine.d b/src/doc_reform/spine.d index 53a4a5a..6d6d543 100755 --- a/src/doc_reform/spine.d +++ b/src/doc_reform/spine.d @@ -181,7 +181,8 @@ string program_name = "spine"; ]; auto helpInfo = getopt(args, std.getopt.config.passThrough, - "abstraction", "document abstraction ", &opts["abstraction"], + "abstraction", "document abstraction", &opts["abstraction"], + "allow-downloads", "allow downloads (includes cgi.d from github)", &opts["allow-downloads"], "assert", "set optional assertions on", &opts["assertions"], "cgi-search-form-codegen", "generates (pre-compiled) d code for search of specified db", &opts["cgi-search-form-codegen"], "cgi-sqlite-search-filename", "=[filename]", &settings["cgi-sqlite-search-filename"], @@ -252,6 +253,9 @@ string program_name = "spine"; } enum outTask { source_or_pod, sqlite, sqlite_multi, latex, odt, epub, html_scroll, html_seg, html_stuff } struct OptActions { + @trusted bool allow_downloads() { + return opts["allow-downloads"]; + } @trusted bool assertions() { return opts["assertions"]; } |