Commit 8f8344bff840cec5aedd01a42ec350b95a738f59
Committed by
GitHub
1 parent
788c3f58
fix: make_description min option output (#808)
Include spacing between the number of minimum options required and the rest of the description.
Showing
1 changed file
with
1 additions
and
1 deletions
include/CLI/impl/Formatter_inl.hpp
| ... | ... | @@ -75,7 +75,7 @@ CLI11_INLINE std::string Formatter::make_description(const App *app) const { |
| 75 | 75 | if(min_options == 1) { |
| 76 | 76 | desc += " \n[Exactly 1 of the following options is required]"; |
| 77 | 77 | } else { |
| 78 | - desc += " \n[Exactly " + std::to_string(min_options) + "options from the following list are required]"; | |
| 78 | + desc += " \n[Exactly " + std::to_string(min_options) + " options from the following list are required]"; | |
| 79 | 79 | } |
| 80 | 80 | } else if(max_options > 0) { |
| 81 | 81 | if(min_options > 0) { | ... | ... |