mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
refactoring: Reorder verbosity tokens
This commit is contained in:
parent
9a3b103861
commit
04e84cb06f
1 changed files with 11 additions and 10 deletions
|
@ -1037,21 +1037,22 @@ bool Context::verbose (const std::string& token)
|
|||
{
|
||||
std::string v = *(verbosity.begin ());
|
||||
if (v != "nothing" &&
|
||||
v != "blank" && // This list must be complete.
|
||||
v != "header" && //
|
||||
v != "affected" && // This list must be complete.
|
||||
v != "blank" && //
|
||||
v != "context" && //
|
||||
v != "default" && //
|
||||
v != "edit" && //
|
||||
v != "filter" && //
|
||||
v != "footnote" && //
|
||||
v != "header" && //
|
||||
v != "label" && //
|
||||
v != "new-id" && //
|
||||
v != "new-uuid" && //
|
||||
v != "affected" && //
|
||||
v != "edit" && //
|
||||
v != "special" && //
|
||||
v != "project" && //
|
||||
v != "sync" && //
|
||||
v != "filter" && //
|
||||
v != "override" && //
|
||||
v != "context" && //
|
||||
v != "recur") //
|
||||
v != "project" && //
|
||||
v != "recur" && //
|
||||
v != "special" && //
|
||||
v != "sync")
|
||||
{
|
||||
// This list emulates rc.verbose=off in version 1.9.4.
|
||||
verbosity = {"blank", "label", "new-id", "edit"};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue