aboutsummaryrefslogtreecommitdiff
path: root/args.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'args.hxx')
-rw-r--r--args.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/args.hxx b/args.hxx
index 3458d97..8839253 100644
--- a/args.hxx
+++ b/args.hxx
@@ -2317,7 +2317,7 @@ namespace args
command.subparser = &parser;
}
- Command::RaiiSubparser::RaiiSubparser(const Command &command_, const HelpParams &params_): command(command_), parser(command, params_)
+ Command::RaiiSubparser::RaiiSubparser(const Command &command_, const HelpParams &params_): command(command_), parser(command, params_), oldSubparser(command.subparser)
{
command.subparser = &parser;
}