aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/io_out/sqlite.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2022-02-23 15:11:39 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2022-02-25 19:41:09 -0500
commit20a36744ada25bf063199a24fe3eebe85f056235 (patch)
tree1f00bcdb4137ce2eb0030f4f44fb0c57053aed58 /src/doc_reform/io_out/sqlite.d
parentrethink verbose & debug flags, introduce show (diff)
verbosity level, "vox_gt[lv]" (voice greater than)
Diffstat (limited to 'src/doc_reform/io_out/sqlite.d')
-rw-r--r--src/doc_reform/io_out/sqlite.d10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/doc_reform/io_out/sqlite.d b/src/doc_reform/io_out/sqlite.d
index 7e4d605..06a764f 100644
--- a/src/doc_reform/io_out/sqlite.d
+++ b/src/doc_reform/io_out/sqlite.d
@@ -108,7 +108,7 @@ template SQLiteHubBuildTablesAndPopulate() {
}
db.close;
}
- if (!(doc_matters.opt.action.quiet)) {
+ if (doc_matters.opt.action.vox_gt0) {
writeln(" ", pth_sqlite.sqlite_file);
}
}
@@ -142,7 +142,7 @@ template SQLiteHubDiscreteBuildTablesAndPopulate() {
}
db.close;
}
- if (!(doc_matters.opt.action.quiet)) {
+ if (doc_matters.opt.action.vox_gt0) {
writeln(" ", pth_sqlite.sqlite_file(doc_matters.src.filename));
}
}
@@ -174,7 +174,7 @@ template SQLiteDbRun() {
{ /+ debug +/
if (opt_action.debug_do_sqlite) {
writeln(note);
- if (opt_action.very_verbose) {
+ if (opt_action.vox_gt2) {
writeln(db_statement);
}
}
@@ -425,7 +425,7 @@ template SQLiteFormatAndLoadObject() {
);
}
} else {
- if (!(doc_matters.opt.action.quiet)) {
+ if (doc_matters.opt.action.vox_gt0) {
writeln(
"WARNING on internal document links, anchor to link <<"
~ m.captures["hash"]
@@ -1611,7 +1611,7 @@ template SQLiteTablesCreate() {
? config.conf.w_srv_db_sqlite_path
: "";
if (db_filename.length > 0 && db_path.length > 0) {
- if ((opt_action.verbose)) {
+ if ((opt_action.vox_gt1)) {
writeln("db name & path: ", db_path, db_filename);
}
auto pth_sqlite = spinePathsSQLite!()(db_filename, db_path);