aboutsummaryrefslogtreecommitdiffstats
path: root/src/actionparser.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/actionparser.c')
-rw-r--r--src/actionparser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/actionparser.c b/src/actionparser.c
index 4b8ed6b..de162c2 100644
--- a/src/actionparser.c
+++ b/src/actionparser.c
@@ -112,8 +112,8 @@ int parse_EDIT(UserOpt *opt) {
return 1;
}
int parse_LIST(UserOpt *opt) {
- /* List expects a maximum of than 2 arguments */
- if (optNum > pos + 2) {
+ /* List expects a maximum of than 3 arguments */
+ if (optNum > pos + 3) {
opt->err = PERR_LIST_WRONG;
return -1;
}