From 8f8344bff840cec5aedd01a42ec350b95a738f59 Mon Sep 17 00:00:00 2001 From: Ryan Sherlock Date: Wed, 30 Nov 2022 11:31:11 -0800 Subject: [PATCH] fix: make_description min option output (#808) Include spacing between the number of minimum options required and the rest of the description. --- include/CLI/impl/Formatter_inl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/CLI/impl/Formatter_inl.hpp b/include/CLI/impl/Formatter_inl.hpp index 7bb65238..a93098f3 100644 --- a/include/CLI/impl/Formatter_inl.hpp +++ b/include/CLI/impl/Formatter_inl.hpp @@ -75,7 +75,7 @@ CLI11_INLINE std::string Formatter::make_description(const App *app) const { if(min_options == 1) { desc += " \n[Exactly 1 of the following options is required]"; } else { - desc += " \n[Exactly " + std::to_string(min_options) + "options from the following list are required]"; + desc += " \n[Exactly " + std::to_string(min_options) + " options from the following list are required]"; } } else if(max_options > 0) { if(min_options > 0) {