aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/cmd_execute_resolution.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/clients/cave/cmd_execute_resolution.cc')
-rw-r--r--src/clients/cave/cmd_execute_resolution.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/clients/cave/cmd_execute_resolution.cc b/src/clients/cave/cmd_execute_resolution.cc
index 3e6700cd3..06e8ed1f4 100644
--- a/src/clients/cave/cmd_execute_resolution.cc
+++ b/src/clients/cave/cmd_execute_resolution.cc
@@ -404,8 +404,12 @@ namespace
return true;
else if (cmdline.execution_options.a_change_phases_for.argument() == "first")
return (x == 1);
+ else if (cmdline.execution_options.a_change_phases_for.argument() == "!first")
+ return (x != 1);
else if (cmdline.execution_options.a_change_phases_for.argument() == "last")
return (x == y);
+ else if (cmdline.execution_options.a_change_phases_for.argument() == "!last")
+ return (x != y);
else
throw args::DoHelp("Don't understand argument '"
+ cmdline.execution_options.a_change_phases_for.argument() + "' to '--"