From 1b9aac85ca67c8c8ffb0e1f09276a0cf7238d389 Mon Sep 17 00:00:00 2001 From: Henry Fredrick Schreiner Date: Mon, 20 Nov 2017 09:29:49 -0500 Subject: [PATCH] Using add_help_flag internally --- include/CLI/App.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/CLI/App.hpp b/include/CLI/App.hpp index d6538c8f..397879c9 100644 --- a/include/CLI/App.hpp +++ b/include/CLI/App.hpp @@ -140,7 +140,7 @@ class App { App(std::string description_, bool help, detail::enabler) : description_(std::move(description_)) { if(help) - help_ptr_ = add_flag("-h,--help", "Print this help message and exit"); + add_help_flag("-h,--help", "Print this help message and exit"); } public: