mirror of
https://github.com/swaywm/sway.git
synced 2025-11-06 13:29:50 -05: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
|
|
@ -96,7 +96,7 @@ static enum sway_container_layout get_layout(int argc, char **argv,
|
|||
|
||||
struct cmd_results *cmd_layout(int argc, char **argv) {
|
||||
struct cmd_results *error = NULL;
|
||||
if ((error = checkarg(argc, "layout", EXPECTED_MORE_THAN, 0))) {
|
||||
if ((error = checkarg(argc, "layout", EXPECTED_AT_LEAST, 1))) {
|
||||
return error;
|
||||
}
|
||||
struct sway_container *container = config->handler_context.container;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue