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 --- org/out_src_pod.org | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'org/out_src_pod.org') diff --git a/org/out_src_pod.org b/org/out_src_pod.org index 7e45825..d08cbcc 100644 --- a/org/out_src_pod.org +++ b/org/out_src_pod.org @@ -181,7 +181,7 @@ auto fn_pod = pths_pod.pod_filename(doc_matters.src.filename).zpod; 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); } @@ -208,7 +208,7 @@ auto fn_pod = pths_pod.pod_filename(doc_matters.src.filename).zpod; 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); } @@ -235,7 +235,7 @@ auto fn_pod = pths_pod.pod_filename(doc_matters.src.filename).zpod; = 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(); @@ -298,7 +298,7 @@ auto fn_pod = pths_pod.pod_filename(doc_matters.src.filename).zpod; } } } 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); } @@ -341,7 +341,7 @@ auto fn_pod = pths_pod.pod_filename(doc_matters.src.filename).zpod; 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); } @@ -373,7 +373,7 @@ auto fn_pod = pths_pod.pod_filename(doc_matters.src.filename).zpod; 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