From 646863db1653efa189f508633dd37c2ed4e1d388 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 20 Sep 2015 09:13:24 -0400 Subject: [PATCH] Cleanup: Minor tweaks --- NEWS | 8 ++++---- src/Context.cpp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/NEWS b/NEWS index 00500dab7..f4d30204e 100644 --- a/NEWS +++ b/NEWS @@ -5,14 +5,14 @@ New Features in Taskwarrior 2.5.0 - It is an error to attempt adding or removing a virtual tag. - 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 attribute - The 'commands' command shows the supported commands, with additional 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 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 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, and replaced by the new '_unique' helper command. - 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. - Non­extended forms of ISO-8601 date/time support is removed. This means diff --git a/src/Context.cpp b/src/Context.cpp index 2636b2bef..cb4368187 100644 --- a/src/Context.cpp +++ b/src/Context.cpp @@ -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 // means it is not 1/true/T/yes/on, but also should not be one of the // valid tokens either. - if (!verbosity_legacy && ! verbosity.empty ()) + if (! verbosity_legacy && ! verbosity.empty ()) { std::string v = *(verbosity.begin ()); if (v != "nothing" &&