Commit c71ef09305d8e2baea59132afc4cc20f310431e1
1 parent
26fa59b7
Fix for missing newline without discription
Showing
1 changed file
with
2 additions
and
1 deletions
include/CLI/StringTools.hpp
| @@ -61,8 +61,9 @@ void format_help(std::stringstream &out, std::string name, std::string descripti | @@ -61,8 +61,9 @@ void format_help(std::stringstream &out, std::string name, std::string descripti | ||
| 61 | if(description != "") { | 61 | if(description != "") { |
| 62 | if(name.length()>=wid) | 62 | if(name.length()>=wid) |
| 63 | out << std::endl << std::setw(wid) << ""; | 63 | out << std::endl << std::setw(wid) << ""; |
| 64 | - out << description << std::endl; | 64 | + out << description; |
| 65 | } | 65 | } |
| 66 | + out << std::endl; | ||
| 66 | } | 67 | } |
| 67 | 68 | ||
| 68 | /// Verify the first character of an option | 69 | /// Verify the first character of an option |