commands: remove EXPECTED_MORE_THAN

Its uses have been replaced with EXPECTED_AT_LEAST.
This commit is contained in:
Ian Fan 2018-10-23 10:17:58 +01:00
parent a9fdd5dd2a
commit 5364255f26
6 changed files with 5 additions and 14 deletions

View file

@ -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;
}