1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-28 13:41:15 +02:00

Respect command registrations in plugins.

This commit is contained in:
Shea Levy 2021-01-28 10:04:47 -05:00
parent 98d1b64400
commit f6c5b05488
No known key found for this signature in database
GPG key ID: 5C0BD6957D86FE27
3 changed files with 9 additions and 2 deletions

View file

@ -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",