From 3136fa174657b4c191a70038dffdad5668f1fad2 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 9 Aug 2014 20:39:18 -0400 Subject: [PATCH] Context - Added clarifying comment to the strange test in ::verbose. --- src/Context.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Context.cpp b/src/Context.cpp index 45ea17213..654e71e9c 100644 --- a/src/Context.cpp +++ b/src/Context.cpp @@ -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" &&