From 664c85a6014c4b3977965d131eb91d3dacbb511b Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Wed, 10 Jun 2020 19:04:20 +0200 Subject: [PATCH] Fix default --version help message capitalisation. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The default help message for “--help” is capitalised, whereas the one for “--version” was not: -h,--help Print this help message and exit -V,--version display program version information and exit --- include/CLI/App.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/CLI/App.hpp b/include/CLI/App.hpp index 54ac7033a..2c756d65b 100644 --- a/include/CLI/App.hpp +++ b/include/CLI/App.hpp @@ -719,7 +719,7 @@ class App { version_ptr_ = add_flag_callback( flag_name, [versionString]() { throw(CLI::CallForVersion(versionString, 0)); }, - "display program version information and exit"); + "Display program version information and exit"); version_ptr_->configurable(false); } @@ -738,7 +738,7 @@ class App { version_ptr_ = add_flag_callback( flag_name, [vfunc]() { throw(CLI::CallForVersion(vfunc(), 0)); }, - "display program version information and exit"); + "Display program version information and exit"); version_ptr_->configurable(false); }