mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Context
- Added clarifying comment to the strange test in ::verbose.
This commit is contained in:
parent
6209529aaa
commit
3136fa1746
1 changed files with 3 additions and 0 deletions
|
@ -476,6 +476,9 @@ bool Context::verbose (const std::string& token)
|
|||
split (verbosity, config.get ("verbose"), ',');
|
||||
|
||||
// Regular feedback means almost everything.
|
||||
// This odd test is to see if a Boolean-false value is a real one, which
|
||||
// means it is not 1/true/T/yes/on, but also should not be one of the
|
||||
// valid tokens either.
|
||||
if (!verbosity_legacy &&
|
||||
verbosity.size () &&
|
||||
verbosity[0] != "nothing" &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue