From 762439ade3de42d2043fafc0005b255c6c58ba49 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sun, 11 Dec 2016 11:17:06 -0500 Subject: 0.10.0 generic object (ObjGenericComposite), removed "object_set" --- src/sdp.d | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'src/sdp.d') 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( -- cgit v1.2.3