diff options
author | Anastasis Grammenos <anastasis.gramm2@gmail.com> | 2018-10-08 23:47:07 +0300 |
---|---|---|
committer | Anastasis Grammenos <anastasis.gramm2@gmail.com> | 2018-10-08 23:47:07 +0300 |
commit | fe781e5ae7116733e5b335a0ac016af97266db5f (patch) | |
tree | d5cf6ebfc27b84745df5d6e3db04b04d0b524706 /src/actionparser.c | |
parent | f67f2c3d5b67f54dae2c2c2754f43b4351445c80 (diff) | |
download | ck-fe781e5ae7116733e5b335a0ac016af97266db5f.tar.gz ck-fe781e5ae7116733e5b335a0ac016af97266db5f.tar.bz2 ck-fe781e5ae7116733e5b335a0ac016af97266db5f.zip |
Way better Edit
Diffstat (limited to 'src/actionparser.c')
-rw-r--r-- | src/actionparser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actionparser.c b/src/actionparser.c index 25c7c19..7c1186a 100644 --- a/src/actionparser.c +++ b/src/actionparser.c @@ -332,7 +332,7 @@ void print_parser_error(UserOpt *opt) { sprintf(errStr, "Delete config or program\nUsage: %s ....", names); break; case PERR_EDIT_WRONG: - sprintf(errStr, "Edit config with $EDITOR\nUsage: %s ProgramName or configBasename (or both)", names); + sprintf(errStr, "Edit config with $EDITOR (%s)\nUsage: %s ProgramName [configBasename]", getenv("EDITOR"), names); break; case PERR_LIST_WRONG: sprintf(errStr, "List programs, configs and more\nUsage: %s value-to-list (or tree) [-t list-type] [-a]", names); |