Merge remote-tracking branch 'occivink/nop-ignore-unknown-switches'
This commit is contained in:
commit
7f41a277a0
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user