aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/clients/cave/cmd_print_commands.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clients/cave/cmd_print_commands.cc b/src/clients/cave/cmd_print_commands.cc
index 0b2e00f7d..bc312938f 100644
--- a/src/clients/cave/cmd_print_commands.cc
+++ b/src/clients/cave/cmd_print_commands.cc
@@ -90,7 +90,7 @@ PrintCommandsCommand::run(
{
std::shared_ptr<Command> instance(CommandFactory::get_instance()->create(*cmd));
- if (! cmdline.a_all.specified() && ! instance->importance() == ci_core)
+ if (! cmdline.a_all.specified() && instance->importance() != ci_core)
continue;
if (instance->importance() == ci_ignore)
continue;