From 20a36744ada25bf063199a24fe3eebe85f056235 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Wed, 23 Feb 2022 15:11:39 -0500 Subject: verbosity level, "vox_gt[lv]" (voice greater than) --- src/doc_reform/io_out/source_pod.d | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 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 4b59116..14d63d7 100644 --- a/src/doc_reform/io_out/source_pod.d +++ b/src/doc_reform/io_out/source_pod.d @@ -105,7 +105,7 @@ template spinePod() { pths_pod.pod_dir_().mkdirRecurse; } if (doc_matters.opt.action.source_or_pod) { - if (!(doc_matters.opt.action.quiet)) { + if (doc_matters.opt.action.vox_gt0) { writeln(" ", pths_pod.fn_pod_filelist(doc_matters.src.filename).filesystem_open_zpod); } if (!exists(pths_pod.text_root(doc_matters.src.filename).filesystem_open_zpod)) { @@ -128,7 +128,7 @@ template spinePod() { } } if (doc_matters.opt.action.debug_do_pod - && doc_matters.opt.action.verbose) { + && doc_matters.opt.action.vox_gt1) { writeln(__LINE__, ": ", doc_matters.src.filename, " -> ", pths_pod.fn_doc(doc_matters.src.filename, doc_matters.src.language).filesystem_open_zpod @@ -163,7 +163,7 @@ template spinePod() { } } else { if (doc_matters.opt.action.debug_do_pod - && doc_matters.opt.action.verbose) { + && doc_matters.opt.action.vox_gt1) { writeln("WARNING (io) src out NOT found (image): ", fn_src_in); } } @@ -190,7 +190,7 @@ template spinePod() { } } else { if (doc_matters.opt.action.debug_do_pod - && doc_matters.opt.action.verbose) { + && doc_matters.opt.action.vox_gt1) { writeln("WARNING (io) src out NOT found (document make): ", fn_src_in); } } @@ -217,7 +217,7 @@ template spinePod() { 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_pod - && doc_matters.opt.action.verbose) { + && doc_matters.opt.action.vox_gt1) { try { _pmy = Loader.fromString(_pm).load(); } catch (ErrnoException ex) { @@ -280,7 +280,7 @@ template spinePod() { } } else { if (doc_matters.opt.action.debug_do_pod - && doc_matters.opt.action.verbose) { + && doc_matters.opt.action.vox_gt1) { writeln("WARNING (io) src in NOT found (markup source): ", fn_src_in); } } @@ -323,7 +323,7 @@ template spinePod() { } } else { if (doc_matters.opt.action.debug_do_pod - && doc_matters.opt.action.verbose) { + && doc_matters.opt.action.vox_gt1) { writeln("WARNING (io) src out NOT found (insert file): ", _pth_mkup_src_in); } } @@ -355,7 +355,7 @@ template spinePod() { } } else { if (doc_matters.opt.action.debug_do_pod - && doc_matters.opt.action.verbose) { + && doc_matters.opt.action.vox_gt1) { writeln("WARNING (io) src out NOT found (insert file): ", fn_src_in); } } @@ -377,10 +377,10 @@ template spinePod() { } if (exists(fn_pod)) { try { - if (!(doc_matters.opt.action.quiet) + if (doc_matters.opt.action.vox_gt0 && doc_matters.opt.action.pod) { auto data = (cast(byte[]) (fn_pod).read); - if (doc_matters.opt.action.verbose) { + if (doc_matters.opt.action.vox_gt1) { writeln(" ", doc_matters.src.filename, " > "); } if (doc_matters.opt.action.pod) { -- cgit v1.2.3