aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2023-05-25 14:15:51 +0200
committerStefan Boberg <[email protected]>2023-05-25 14:15:51 +0200
commit6c2488aef15f14d0d19c046df1e55b8403f94985 (patch)
treec9fe353e81219a17bd1c5dcfb6bf913f1b69d260 /src
parentupdated runner setup doc (diff)
downloadzen-6c2488aef15f14d0d19c046df1e55b8403f94985.tar.xz
zen-6c2488aef15f14d0d19c046df1e55b8403f94985.zip
fix for issue with missing options in help
positional options were not included in the `--help` output previously, now they are!
Diffstat (limited to 'src')
-rw-r--r--src/zen/zen.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/zen/zen.cpp b/src/zen/zen.cpp
index e4229d336..51f030e25 100644
--- a/src/zen/zen.cpp
+++ b/src/zen/zen.cpp
@@ -48,6 +48,8 @@ ZenCmdBase::ParseOptions(int argc, char** argv)
cxxopts::Options& CmdOptions = Options();
cxxopts::ParseResult Result = CmdOptions.parse(argc, argv);
+ CmdOptions.show_positional_help();
+
if (Result.count("help"))
{
printf("%s\n", CmdOptions.help().c_str());