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.
This commit is contained 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"
|
The tokens "affected", "new-id", "new-uuid", "project", "override" and "recur"
|
||||||
imply "footnote".
|
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,
|
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.
|
and the "nothing" setting is equivalent to none of the tokens being specified.
|
||||||
|
|||||||
@@ -1075,7 +1075,7 @@ bool Context::verbose (const std::string& token)
|
|||||||
// Some flags imply "header" verbosity being active. Make it so.
|
// Some flags imply "header" verbosity being active. Make it so.
|
||||||
if (! verbosity.count ("header"))
|
if (! verbosity.count ("header"))
|
||||||
{
|
{
|
||||||
for (auto flag : {"default", "override"})
|
for (auto flag : {"default"})
|
||||||
{
|
{
|
||||||
if (verbosity.count (flag))
|
if (verbosity.count (flag))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user