diff options
author | Ian Fan <ianfan0@gmail.com> | 2018-10-23 10:40:03 +0100 |
---|---|---|
committer | Ian Fan <ianfan0@gmail.com> | 2018-10-23 10:51:54 +0100 |
commit | 9227cb7d673b012a0c6730800d528f9d729972b6 (patch) | |
tree | 32f4a9782328486f529c09fe2bb8092c25b9993d /include/sway/commands.h | |
parent | commands: clean-up checkarg function (diff) | |
download | sway-9227cb7d673b012a0c6730800d528f9d729972b6.tar.gz sway-9227cb7d673b012a0c6730800d528f9d729972b6.tar.zst sway-9227cb7d673b012a0c6730800d528f9d729972b6.zip |
commands: replace EXPECTED_LESS_THAN with EXPECTED_AT_MOST
This makes it a bit more obvious what the expected number of arguments is.
Diffstat (limited to 'include/sway/commands.h')
-rw-r--r-- | include/sway/commands.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sway/commands.h b/include/sway/commands.h index 791b37dc..6606775a 100644 --- a/include/sway/commands.h +++ b/include/sway/commands.h | |||
@@ -40,7 +40,7 @@ struct cmd_results { | |||
40 | 40 | ||
41 | enum expected_args { | 41 | enum expected_args { |
42 | EXPECTED_AT_LEAST, | 42 | EXPECTED_AT_LEAST, |
43 | EXPECTED_LESS_THAN, | 43 | EXPECTED_AT_MOST, |
44 | EXPECTED_EQUAL_TO | 44 | EXPECTED_EQUAL_TO |
45 | }; | 45 | }; |
46 | 46 | ||