diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-12-16 12:40:58 -0500 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-12-16 12:40:58 -0500 |
commit | b8261ab24bbc8159deffadb78f5108a612d27534 (patch) | |
tree | 26fa6ad1eb76cdf043240700b85a9a6ab7779039 /sway/commands/input/xkb_rules.c | |
parent | f16aa3c0ad8328da0820e81c99a619835f36082f (diff) |
expect exactly one xkb arg
Diffstat (limited to 'sway/commands/input/xkb_rules.c')
-rw-r--r-- | sway/commands/input/xkb_rules.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/input/xkb_rules.c b/sway/commands/input/xkb_rules.c index 047e8c84..def614e9 100644 --- a/sway/commands/input/xkb_rules.c +++ b/sway/commands/input/xkb_rules.c @@ -7,7 +7,7 @@ struct cmd_results *input_cmd_xkb_rules(int argc, char **argv) { sway_log(L_DEBUG, "xkb rules for device: %s", current_input_config->identifier); struct cmd_results *error = NULL; - if ((error = checkarg(argc, "xkb_rules", EXPECTED_AT_LEAST, 1))) { + if ((error = checkarg(argc, "xkb_rules", EXPECTED_EQUAL_TO, 1))) { return error; } if (!current_input_config) { |