diff options
Diffstat (limited to 'meowpp/Usage.hpp')
-rw-r--r-- | meowpp/Usage.hpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/meowpp/Usage.hpp b/meowpp/Usage.hpp index 40b933f..02f912b 100644 --- a/meowpp/Usage.hpp +++ b/meowpp/Usage.hpp @@ -174,11 +174,8 @@ namespace meow{ description = stringReplace(d, "<value>", v); } inline Usage::String Usage::Value::getUsage() const { - if(description.length() > 0) - return stringPrintf("%8s%s : %s\n", - " ", value.c_str(), description.c_str()); - else - return ""; + return stringPrintf("%8s%s : %s\n", + " ", value.c_str(), description.c_str()); } inline Usage::String Usage::Value::getValue() const { return value; |