Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jarro2783/cxxopts.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'include/cxxopts.hpp')
-rw-r--r--include/cxxopts.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/cxxopts.hpp b/include/cxxopts.hpp
index d247ba7..2dd4da6 100644
--- a/include/cxxopts.hpp
+++ b/include/cxxopts.hpp
@@ -1825,6 +1825,11 @@ namespace cxxopts
const HelpGroupDetails&
group_help(const std::string& group) const;
+ const std::string& program() const
+ {
+ return m_program;
+ }
+
private:
void