mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Context
- Found another case where an empty verbosity token list was being examined.
This commit is contained in:
parent
ad0c349684
commit
5f143bee49
1 changed files with 2 additions and 1 deletions
|
@ -533,7 +533,8 @@ bool Context::verbose (const std::string& token)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
// rc.verbose=nothing overrides all.
|
// rc.verbose=nothing overrides all.
|
||||||
if (verbosity[0] == "nothing")
|
if (verbosity.size () == 1 &&
|
||||||
|
verbosity[0] == "nothing")
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
// Specific token match.
|
// Specific token match.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue