Procházet zdrojové kódy

fixed help message

develop
Robin Thoni před 9 roky
rodič
revize
047c68626b
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2
    2
      cli/Interface/CommandLineParser.cpp

+ 2
- 2
cli/Interface/CommandLineParser.cpp Zobrazit soubor

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, ' ');

Načítá se…
Zrušit
Uložit