diff options
author | midipix <writeonce@midipix.org> | 2016-01-03 10:09:12 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-10 23:35:35 -0500 |
commit | 6b04c60f081f82190ef83dc417f02e853a01e73d (patch) | |
tree | 7f43f66d1cad80070f5ab461f3cd0b55a49368f9 /src/internal/argv | |
parent | 76d6a3cfe14e09d13fb2a7324fad16e13bbf3caa (diff) | |
download | perk-6b04c60f081f82190ef83dc417f02e853a01e73d.tar.bz2 perk-6b04c60f081f82190ef83dc417f02e853a01e73d.tar.xz |
argv.h: argv_show_error(): prefix illegal short options with a dash.
Diffstat (limited to 'src/internal/argv')
-rw-r--r-- | src/internal/argv/argv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/argv/argv.h b/src/internal/argv/argv.h index 97b2af1..f6ffa48 100644 --- a/src/internal/argv/argv.h +++ b/src/internal/argv/argv.h @@ -478,7 +478,7 @@ static void argv_show_error(struct argv_ctx * ctx) switch (ctx->errcode) { case ARGV_ERROR_SHORT_OPTION: - fprintf(stderr,"'%c' is not a valid short option\n",*ctx->errch); + fprintf(stderr,"'-%c' is not a valid short option\n",*ctx->errch); break; case ARGV_ERROR_LONG_OPTION: |