Cleanup: Minor tweaks

This commit is contained in:
Paul Beckingham 2015-09-20 09:13:24 -04:00
parent d5002ab400
commit 646863db16
2 changed files with 5 additions and 5 deletions

8
NEWS
View file

@ -5,14 +5,14 @@ New Features in Taskwarrior 2.5.0
- It is an error to attempt adding or removing a virtual tag. - It is an error to attempt adding or removing a virtual tag.
- New 'UDA', 'ORPHAN', 'PROJECT', 'PRIORITY' and 'LATEST' virtual tags. - New 'UDA', 'ORPHAN', 'PROJECT', 'PRIORITY' and 'LATEST' virtual tags.
New commands in Taskwarrior 2.5.0 New Commands in Taskwarrior 2.5.0
- The '_unique' command shows a set of unique values for the specified - The '_unique' command shows a set of unique values for the specified
attribute attribute
- The 'commands' command shows the supported commands, with additional - The 'commands' command shows the supported commands, with additional
details that determine some of their behavior. details that determine some of their behavior.
New configuration options in Taskwarrior 2.5.0 New Configuration Options in Taskwarrior 2.5.0
- The 'json.depends.array' setting controls whether dependencies are exported - The 'json.depends.array' setting controls whether dependencies are exported
as a JSON array, of a comma-separated string. Default is 'on'. as a JSON array, of a comma-separated string. Default is 'on'.
@ -29,13 +29,13 @@ New configuration options in Taskwarrior 2.5.0
produced by different color rules. Use if your color scheme produces produced by different color rules. Use if your color scheme produces
unpleasing foreground and background combinations. unpleasing foreground and background combinations.
Newly deprecated features in Taskwarrior 2.5.0 Newly Deprecated Features in Taskwarrior 2.5.0
- The '_ids', '_projects', '_tags', '_uuids' helper commands are deprecated, - The '_ids', '_projects', '_tags', '_uuids' helper commands are deprecated,
and replaced by the new '_unique' helper command. and replaced by the new '_unique' helper command.
- Comma-separated ID lists are deprecated. - Comma-separated ID lists are deprecated.
Removed features in 2.5.0 Removed Features in 2.5.0
- The script 'context' was removed, now that context is a core feature. - The script 'context' was removed, now that context is a core feature.
- Non­extended forms of ISO-8601 date/time support is removed. This means - Non­extended forms of ISO-8601 date/time support is removed. This means

View file

@ -525,7 +525,7 @@ bool Context::verbose (const std::string& token)
// This odd test is to see if a Boolean-false value is a real one, which // 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 // means it is not 1/true/T/yes/on, but also should not be one of the
// valid tokens either. // valid tokens either.
if (!verbosity_legacy && ! verbosity.empty ()) if (! verbosity_legacy && ! verbosity.empty ())
{ {
std::string v = *(verbosity.begin ()); std::string v = *(verbosity.begin ());
if (v != "nothing" && if (v != "nothing" &&