diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2022-02-23 15:11:39 -0500 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2022-02-25 19:41:09 -0500 |
commit | 20a36744ada25bf063199a24fe3eebe85f056235 (patch) | |
tree | 1f00bcdb4137ce2eb0030f4f44fb0c57053aed58 /org/out_metadata.org | |
parent | rethink verbose & debug flags, introduce show (diff) |
verbosity level, "vox_gt[lv]" (voice greater than)
Diffstat (limited to 'org/out_metadata.org')
-rw-r--r-- | org/out_metadata.org | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/org/out_metadata.org b/org/out_metadata.org index c5eddc5..3662700 100644 --- a/org/out_metadata.org +++ b/org/out_metadata.org @@ -96,7 +96,7 @@ if (doc_matters.opt.action.html_curate_link) { metadata_ ~= "</div>" ~ inline_search_form(doc_matters) ~ "</div><hr />"; if (!(doc_matters.conf_make_meta.meta.title_full.empty)) { metadata_ ~= "<p class=\"lev0\">Title: <b><a href=\"" ~ doc_matters.src.filename_base ~ "/toc.html\">" ~ doc_matters.conf_make_meta.meta.title_full ~ "</a></b></p>"; -} else if (doc_matters.opt.action.debug_do || doc_matters.opt.action.very_verbose) { +} else if (doc_matters.opt.action.debug_do || doc_matters.opt.action.vox_gt2) { writeln("ERROR no Title information provided in document header ", doc_matters.src.filename_base); } if (!(doc_matters.conf_make_meta.meta.creator_author.empty)) { @@ -107,18 +107,18 @@ if (!(doc_matters.conf_make_meta.meta.creator_author.empty)) { metadata_ ~= "<p class=\"lev1\">Author: <b>" ~ doc_matters.conf_make_meta.meta.creator_author ~ "</b></p>"; } -} else if (doc_matters.opt.action.debug_do || doc_matters.opt.action.very_verbose) { +} else if (doc_matters.opt.action.debug_do || doc_matters.opt.action.vox_gt2) { writeln("ERROR no Author information provided in document header ", doc_matters.src.filename_base); } metadata_ ~= "<p class=\"lev1\">Published: " ~ doc_matters.conf_make_meta.meta.date_published ~ "</p>"; if (!(doc_matters.conf_make_meta.meta.rights_copyright.empty)) { metadata_ ~= "<p class=\"lev1\">Copyright: " ~ doc_matters.conf_make_meta.meta.rights_copyright ~ "</p>"; -} else if (doc_matters.opt.action.debug_do || doc_matters.opt.action.very_verbose) { +} else if (doc_matters.opt.action.debug_do || doc_matters.opt.action.vox_gt2) { writeln("WARNING no Copyright information provided in document header ", doc_matters.src.filename_base); } if (!(doc_matters.conf_make_meta.meta.rights_license.empty)) { metadata_ ~= "<p class=\"lev1\">License: " ~ doc_matters.conf_make_meta.meta.rights_license ~ "</p>"; -} else if (doc_matters.opt.action.debug_do || doc_matters.opt.action.very_verbose) { +} else if (doc_matters.opt.action.debug_do || doc_matters.opt.action.vox_gt2) { writeln("WARNING no License information provided in document header ", doc_matters.src.filename_base); } if (!(doc_matters.conf_make_meta.meta.notes_summary.empty)) { @@ -254,7 +254,7 @@ metadata_write_output(doc_matters, metadata_); } catch (ErrnoException ex) { // Handle error } - if (!(doc_matters.opt.action.quiet)) { + if (doc_matters.opt.action.vox_gt0) { writeln(" ", pth_html.fn_scroll("metadata." ~ doc_matters.src.filename)); } } |