diff options
author | Shea Levy <shea@shealevy.com> | 2021-01-28 10:04:47 -0500 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2021-02-24 08:25:45 -0500 |
commit | f6c5b05488c588964f51ce97ad2c297fbca7ce96 (patch) | |
tree | 0d6d62aaa13ace160111c1c9580a9a7ccc6ba818 /src/libutil/args.cc | |
parent | 98d1b64400cc7b75216fc885859883c707c18bef (diff) |
Respect command registrations in plugins.
Diffstat (limited to 'src/libutil/args.cc')
-rw-r--r-- | src/libutil/args.cc | 4 |
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", |