diff options
author | Anastasis Grammenos <anastasis.gramm2@gmail.com> | 2018-10-07 20:00:43 +0300 |
---|---|---|
committer | Anastasis Grammenos <anastasis.gramm2@gmail.com> | 2018-10-07 20:00:43 +0300 |
commit | f67f2c3d5b67f54dae2c2c2754f43b4351445c80 (patch) | |
tree | a980a065833e49d84ddd56994b1720adf100a06e /src/actionparser.c | |
parent | 02aa2496d9eaf5c6f1234df1f91b8e312ee10022 (diff) | |
download | ck-f67f2c3d5b67f54dae2c2c2754f43b4351445c80.tar.gz ck-f67f2c3d5b67f54dae2c2c2754f43b4351445c80.tar.bz2 ck-f67f2c3d5b67f54dae2c2c2754f43b4351445c80.zip |
add list_exists fucntion
Diffstat (limited to 'src/actionparser.c')
-rw-r--r-- | src/actionparser.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/actionparser.c b/src/actionparser.c index 266f771..25c7c19 100644 --- a/src/actionparser.c +++ b/src/actionparser.c @@ -389,10 +389,10 @@ int parse_action(int argc, char* argv[], UserOpt *opt) { /* If the remaining arguments are < 2 * print help and exit */ - if (optNum - pos < 2) { - print_parser_help(); - return -1; - } + /* if (optNum - pos < 2) { */ + /* print_parser_help(); */ + /* return -1; */ + /* } */ /* find the action */ determine_action(opt); |