mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Bug #996
- Fixed bug #996, so that verbosity code and documentation are in agreement, and that the 'verbose=off' works as intended (thanks to Peter De Poorter, Louis-Claude Canon).
This commit is contained in:
parent
0ae66f457a
commit
7b58d9c18c
3 changed files with 22 additions and 8 deletions
|
@ -32,6 +32,9 @@ Bugs
|
|||
(thanks to Louis-Claude Canon).
|
||||
+ Fixed bug #995, which mis-parsed UUIDs in filters as other elements (thanks
|
||||
to Bryce Harrington).
|
||||
+ Fixed bug #996, so that verbosity code and documentation are in agreement,
|
||||
and that the 'verbose=off' works as intended (thanks to Peter De Poorter,
|
||||
Louis-Claude Canon).
|
||||
+ Fixed bug #997, so that output is correctly conrolled by the 'affected'
|
||||
verbosity token.
|
||||
+ Fixed grammar in feedback string (thanks to Uli Martens).
|
||||
|
|
|
@ -237,11 +237,15 @@ default value is currently blank.
|
|||
.SS MISCELLANEOUS
|
||||
|
||||
.TP
|
||||
.B verbose=on|off|list...
|
||||
When set to on (the default), helpful explanatory comments are added to all
|
||||
output from Taskwarrior. Setting this to off means that you would see minimal
|
||||
.B verbose=on|off|nothing|list...
|
||||
When set to "on" (the default), helpful explanatory comments are added to all
|
||||
output from Taskwarrior. Setting this to "off" means that you would see regular
|
||||
output.
|
||||
|
||||
The special value "nothing" can be used to eliminate all optional output, which
|
||||
results in only the formatted data being show, with nothing else. This output
|
||||
is most readily parsed and used by shell scripts.
|
||||
|
||||
Alternatively, you can specify a comma-separated list of verbosity tokens that
|
||||
control specific occasions when output is generated. This list may contain:
|
||||
|
||||
|
@ -256,7 +260,18 @@ control specific occasions when output is generated. This list may contain:
|
|||
project Feedback about project status changes
|
||||
|
||||
Note that the "on" setting is equivalent to all the tokens being specified,
|
||||
and the "off" setting is equivalent to none of the tokens being specified.
|
||||
and the "nothing" setting is equivalent to none of the tokens being specified.
|
||||
|
||||
Here are the shortcut equivalents:
|
||||
|
||||
verbose=on
|
||||
verbose=blank,header,footnote,label,new-id,affected,edit,special,project
|
||||
|
||||
verbose=off
|
||||
verbose=blank,label,new-id,edit
|
||||
|
||||
verbose=nothing
|
||||
verbose=
|
||||
|
||||
.TP
|
||||
.B confirmation=yes
|
||||
|
|
|
@ -470,13 +470,9 @@ bool Context::verbose (const std::string& token)
|
|||
|
||||
// This list emulates rc.verbose=off in version 1.9.4.
|
||||
verbosity.push_back ("blank");
|
||||
verbosity.push_back ("footnote");
|
||||
verbosity.push_back ("label");
|
||||
verbosity.push_back ("new-id");
|
||||
verbosity.push_back ("affected");
|
||||
verbosity.push_back ("edit");
|
||||
verbosity.push_back ("special");
|
||||
verbosity.push_back ("project");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue