aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands.c')
-rw-r--r--sway/commands.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sway/commands.c b/sway/commands.c
index 6a5eb3dd..37c7169a 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -25,9 +25,9 @@ struct cmd_results *checkarg(int argc, const char *name, enum expected_args type
25 error_name = "at least "; 25 error_name = "at least ";
26 } 26 }
27 break; 27 break;
28 case EXPECTED_LESS_THAN: 28 case EXPECTED_AT_MOST:
29 if (argc >= val) { 29 if (argc > val) {
30 error_name = "less than "; 30 error_name = "at most ";
31 } 31 }
32 break; 32 break;
33 case EXPECTED_EQUAL_TO: 33 case EXPECTED_EQUAL_TO: