diff --git a/src/nix/command.hh b/src/nix/command.hh index a84721ccf..27c3ab7f2 100644 --- a/src/nix/command.hh +++ b/src/nix/command.hh @@ -29,8 +29,9 @@ typedef std::map> Commands; /* An argument parser that supports multiple subcommands, i.e. ‘ ’. */ -struct MultiCommand : virtual Args +class MultiCommand : virtual Args { +public: Commands commands; std::shared_ptr command;