aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2016-12-11 11:17:06 -0500
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:13 -0400
commit762439ade3de42d2043fafc0005b255c6c58ba49 (patch)
tree9d1c66d345bffd1b15002265e73c97c1fc92c70d /src/sdp.d
parent0.9.6 node info, and output continued (diff)
0.10.0 generic object (ObjGenericComposite), removed "object_set"
Diffstat (limited to 'src/sdp.d')
-rwxr-xr-xsrc/sdp.d22
1 files changed, 13 insertions, 9 deletions
diff --git a/src/sdp.d b/src/sdp.d
index a900b55..ff9128f 100755
--- a/src/sdp.d
+++ b/src/sdp.d
@@ -117,6 +117,7 @@ void main(string[] args) {
"section_bookindex" : true,
"section_blurb" : true,
"backmatter" : true,
+ "skip_output" : false,
];
auto helpInfo = getopt(args,
std.getopt.config.passThrough,
@@ -151,6 +152,7 @@ void main(string[] args) {
"section-bookindex", "--section-bookindex process document bookindex (default)", &opt_action_bool["section_bookindex"],
"section-blurb", "--section-blurb process document blurb (default)", &opt_action_bool["section_blurb"],
"backmatter", "--section-backmatter process document backmatter (default)", &opt_action_bool["backmatter"],
+ "skip_output", "--skip-output", &opt_action_bool["skip_output"],
);
if (helpInfo.helpWanted) {
defaultGetoptPrinter("Some information about the program.", helpInfo.options);
@@ -274,15 +276,17 @@ void main(string[] args) {
);
}
/+ ↓ output hub +/
- output.hub(
- doc_ao_contents,
- document_section_keys_sequenced,
- doc_html_segnames,
- dochead_make,
- dochead_meta,
- fn_src,
- opt_action_bool
- );
+ if (!(opt_action_bool["skip_output"])) {
+ output.hub(
+ doc_ao_contents,
+ document_section_keys_sequenced,
+ doc_html_segnames,
+ dochead_make,
+ dochead_meta,
+ fn_src,
+ opt_action_bool
+ );
+ }
scope(exit) {
debug(checkdoc) {
writefln(