mirror of
https://github.com/NixOS/nix.git
synced 2025-11-11 13:06:01 +01:00
Respect command registrations in plugins.
This commit is contained in:
parent
98d1b64400
commit
f6c5b05488
3 changed files with 9 additions and 2 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue