aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/spine.org
diff options
context:
space:
mode:
Diffstat (limited to 'org/spine.org')
-rw-r--r--org/spine.org6
1 files changed, 5 insertions, 1 deletions
diff --git a/org/spine.org b/org/spine.org
index f6dd0b2..bd8437a 100644
--- a/org/spine.org
+++ b/org/spine.org
@@ -429,7 +429,8 @@ string[string] settings = [
#+BEGIN_SRC d
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"],
@@ -507,6 +508,9 @@ if (helpInfo.helpWanted) {
#+BEGIN_SRC d
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"];
}