Browse Source

fixed help message

develop
Robin Thoni 9 years ago
parent
commit
047c68626b
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      cli/Interface/CommandLineParser.cpp

+ 2
- 2
cli/Interface/CommandLineParser.cpp View File

68
         }
68
         }
69
         std::string value = "<" + opt->getValueName();
69
         std::string value = "<" + opt->getValueName();
70
         if (!opt->getDefaultValue().empty()) {
70
         if (!opt->getDefaultValue().empty()) {
71
-            value += opt->getDefaultValue();
71
+            value += "=" + opt->getDefaultValue();
72
         }
72
         }
73
         value += ">";
73
         value += ">";
74
         if (value.length() > longestValue) {
74
         if (value.length() > longestValue) {
84
         {
84
         {
85
             std::string value = "<" + opt->getValueName();
85
             std::string value = "<" + opt->getValueName();
86
             if (!opt->getDefaultValue().empty()) {
86
             if (!opt->getDefaultValue().empty()) {
87
-                value += opt->getDefaultValue();
87
+                value += "=" + opt->getDefaultValue();
88
             }
88
             }
89
             value += ">";
89
             value += ">";
90
             out << value << std::string(longestValue - value.length() + 2, ' ');
90
             out << value << std::string(longestValue - value.length() + 2, ' ');

Loading…
Cancel
Save