aboutsummaryrefslogtreecommitdiffstats
path: root/src/actionparser.c
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2018-09-22 12:58:22 +0300
committergramanas <anastasis.gramm2@gmail.com>2018-09-22 12:58:22 +0300
commit405afc36e0929d887188be09a5886f79ff0ea1c4 (patch)
treef31d36ad4229f207e7e7bfbfe679516295e82952 /src/actionparser.c
parentfe7c216a75ad1a5890c329df73f1d5ab461a1257 (diff)
downloadck-405afc36e0929d887188be09a5886f79ff0ea1c4.tar.gz
ck-405afc36e0929d887188be09a5886f79ff0ea1c4.tar.bz2
ck-405afc36e0929d887188be09a5886f79ff0ea1c4.zip
Standarize error codes
Diffstat (limited to 'src/actionparser.c')
-rw-r--r--src/actionparser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actionparser.c b/src/actionparser.c
index de162c2..a1fd1ef 100644
--- a/src/actionparser.c
+++ b/src/actionparser.c
@@ -269,7 +269,7 @@ void print_parser_error(UserOpt *opt) {
sprintf(errStr, "Edit config with $EDITOR\nUsage: %s ProgramName or configBasename (or both)", names);
break;
case PERR_LIST_WRONG:
- sprintf(errStr, "List programs, configs and more\nUsage: %s [list-type] value-to-list", names);
+ sprintf(errStr, "List programs, configs and more\nUsage: %s value-to-list (or tree) [-t list-type]", names);
break;
case PERR_SEARCH_WRONG:
sprintf(errStr, "Usage: .............");