aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/args.cc
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2021-01-28 10:04:47 -0500
committerShea Levy <shea@shealevy.com>2021-02-24 08:25:45 -0500
commitf6c5b05488c588964f51ce97ad2c297fbca7ce96 (patch)
tree0d6d62aaa13ace160111c1c9580a9a7ccc6ba818 /src/libutil/args.cc
parent98d1b64400cc7b75216fc885859883c707c18bef (diff)
Respect command registrations in plugins.
Diffstat (limited to 'src/libutil/args.cc')
-rw-r--r--src/libutil/args.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libutil/args.cc b/src/libutil/args.cc
index eb11fd64b..75eb19d28 100644
--- a/src/libutil/args.cc
+++ b/src/libutil/args.cc
@@ -306,8 +306,8 @@ Strings argvToStrings(int argc, char * * argv)
return args;
}
-MultiCommand::MultiCommand(const Commands & commands)
- : commands(commands)
+MultiCommand::MultiCommand(const Commands & commands_)
+ : commands(commands_)
{
expectArgs({
.label = "subcommand",