mirror of
https://github.com/swaywm/sway.git
synced 2026-03-09 05:34:13 -04:00
commands: remove EXPECTED_MORE_THAN
Its uses have been replaced with EXPECTED_AT_LEAST.
This commit is contained in:
parent
a9fdd5dd2a
commit
5364255f26
6 changed files with 5 additions and 14 deletions
|
|
@ -145,7 +145,7 @@ static struct cmd_results *cmd_bindsym_or_bindcode(int argc, char **argv,
|
|||
const char *bindtype = bindcode ? "bindcode" : "bindsym";
|
||||
|
||||
struct cmd_results *error = NULL;
|
||||
if ((error = checkarg(argc, bindtype, EXPECTED_MORE_THAN, 1))) {
|
||||
if ((error = checkarg(argc, bindtype, EXPECTED_AT_LEAST, 2))) {
|
||||
return error;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue