From 9a3b103861f75d191871641d9fca43a8b3699ab4 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Thu, 16 Sep 2021 07:04:20 -0400 Subject: [PATCH] Context: Override verbosity token should not imply header Users might want to only opt-in into footnote override notifications, without seeing header-based override information about TASKRC or TASKDATA. --- doc/man/taskrc.5.in | 2 +- src/Context.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/man/taskrc.5.in b/doc/man/taskrc.5.in index 4aa18768d..c7c4f6b50 100644 --- a/doc/man/taskrc.5.in +++ b/doc/man/taskrc.5.in @@ -306,7 +306,7 @@ control specific occasions when output is generated. This list may contain: The tokens "affected", "new-id", "new-uuid", "project", "override" and "recur" imply "footnote". -The tokens "default" and "override" imply "header". +The token "default" implies "header". Note that the "1" setting is equivalent to all the tokens being specified, and the "nothing" setting is equivalent to none of the tokens being specified. diff --git a/src/Context.cpp b/src/Context.cpp index fc2eea81e..e2ee9bad3 100644 --- a/src/Context.cpp +++ b/src/Context.cpp @@ -1075,7 +1075,7 @@ bool Context::verbose (const std::string& token) // Some flags imply "header" verbosity being active. Make it so. if (! verbosity.count ("header")) { - for (auto flag : {"default", "override"}) + for (auto flag : {"default"}) { if (verbosity.count (flag)) {