diff --git a/src/commands.cc b/src/commands.cc index 99859127..0ef205ee 100644 --- a/src/commands.cc +++ b/src/commands.cc @@ -2662,7 +2662,8 @@ const CommandDesc require_module_cmd = { void register_commands() { CommandManager& cm = CommandManager::instance(); - cm.register_command("nop", [](const ParametersParser&, Context&, const ShellContext&){}, "do nothing", {}); + cm.register_command("nop", [](const ParametersParser&, Context&, const ShellContext&){}, "do nothing", + {{}, ParameterDesc::Flags::IgnoreUnknownSwitches}); auto register_command = [&](const CommandDesc& c) {