aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands/bind.c
diff options
context:
space:
mode:
authorLibravatar Ian Fan <ianfan0@gmail.com>2018-10-23 10:17:58 +0100
committerLibravatar Ian Fan <ianfan0@gmail.com>2018-10-23 10:17:58 +0100
commit5364255f265da2e324f65369037d5828688d08cd (patch)
tree8ef7afa00e71186f03a46d3d1ab3467a5e428102 /sway/commands/bind.c
parentcommands: print correct command on error for exec and opacity (diff)
downloadsway-5364255f265da2e324f65369037d5828688d08cd.tar.gz
sway-5364255f265da2e324f65369037d5828688d08cd.tar.zst
sway-5364255f265da2e324f65369037d5828688d08cd.zip
commands: remove EXPECTED_MORE_THAN
Its uses have been replaced with EXPECTED_AT_LEAST.
Diffstat (limited to 'sway/commands/bind.c')
-rw-r--r--sway/commands/bind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/bind.c b/sway/commands/bind.c
index 5832d01e..a9de227f 100644
--- a/sway/commands/bind.c
+++ b/sway/commands/bind.c
@@ -145,7 +145,7 @@ static struct cmd_results *cmd_bindsym_or_bindcode(int argc, char **argv,
145 const char *bindtype = bindcode ? "bindcode" : "bindsym"; 145 const char *bindtype = bindcode ? "bindcode" : "bindsym";
146 146
147 struct cmd_results *error = NULL; 147 struct cmd_results *error = NULL;
148 if ((error = checkarg(argc, bindtype, EXPECTED_MORE_THAN, 1))) { 148 if ((error = checkarg(argc, bindtype, EXPECTED_AT_LEAST, 2))) {
149 return error; 149 return error;
150 } 150 }
151 151