From 8757dfd0fd175698b2bdf61ae49875080b8e1612 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Mon, 21 Feb 2022 12:48:35 -0500 Subject: debug flags, narrow purpose --- src/doc_reform/io_out/source_pod.d | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/doc_reform/io_out/source_pod.d') diff --git a/src/doc_reform/io_out/source_pod.d b/src/doc_reform/io_out/source_pod.d index ed819fe..5da5a0a 100644 --- a/src/doc_reform/io_out/source_pod.d +++ b/src/doc_reform/io_out/source_pod.d @@ -161,7 +161,7 @@ template spinePod() { zip = pod_archive("file_path_bin", fn_src_in, fn_src_out_pod_zip_base, zip); } } else { - if (doc_matters.opt.action.debug_do + if (doc_matters.opt.action.debug_do_pod && doc_matters.opt.action.verbose) { writeln("WARNING (io) src out NOT found (image): ", fn_src_in); } @@ -188,7 +188,7 @@ template spinePod() { zip = pod_archive("file_path_text", fn_src_in, fn_src_out_pod_zip_base, zip); } } else { - if (doc_matters.opt.action.debug_do + if (doc_matters.opt.action.debug_do_pod && doc_matters.opt.action.verbose) { writeln("WARNING (io) src out NOT found (document make): ", fn_src_in); } @@ -215,7 +215,7 @@ template spinePod() { = File(pths_pod.fn_pod_filelist(doc_matters.src.filename).filesystem_open_zpod, "w"); Node _pmy; string _pm = "doc:\n filename: " ~ doc_matters.src.filename ~ "\n language: " ~ doc_matters.pod.manifest_list_of_languages.to!string ~ "\n"; - if (doc_matters.opt.action.debug_do + if (doc_matters.opt.action.debug_do_pod && doc_matters.opt.action.verbose) { try { _pmy = Loader.fromString(_pm).load(); @@ -278,7 +278,7 @@ template spinePod() { } } } else { - if (doc_matters.opt.action.debug_do + if (doc_matters.opt.action.debug_do_pod && doc_matters.opt.action.verbose) { writeln("WARNING (io) src in NOT found (markup source): ", fn_src_in); } @@ -321,7 +321,7 @@ template spinePod() { zip = pod_archive("file_path_text", _pth_mkup_src_in, _pth_mkup_src_out, zip); } } else { - if (doc_matters.opt.action.debug_do + if (doc_matters.opt.action.debug_do_pod && doc_matters.opt.action.verbose) { writeln("WARNING (io) src out NOT found (insert file): ", _pth_mkup_src_in); } @@ -353,7 +353,7 @@ template spinePod() { zip = pod_archive("file_path_text", fn_src_in, fn_src_out_pod_zip_base, zip); } } else { - if (doc_matters.opt.action.debug_do + if (doc_matters.opt.action.debug_do_pod && doc_matters.opt.action.verbose) { writeln("WARNING (io) src out NOT found (insert file): ", fn_src_in); } -- cgit v1.2.3