From 405afc36e0929d887188be09a5886f79ff0ea1c4 Mon Sep 17 00:00:00 2001 From: gramanas Date: Sat, 22 Sep 2018 12:58:22 +0300 Subject: Standarize error codes --- src/actionparser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/actionparser.c') 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: ............."); -- cgit v1.2.3