diff options
author | midipix <writeonce@midipix.org> | 2016-01-03 10:10:09 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-11 00:22:33 -0500 |
commit | 55faed6a1cdc906cdd7f5c81b155810d3d949ecc (patch) | |
tree | 7a14bbabdfe86a82d0842bc028fb2a2b8f3b7876 /src | |
parent | 985732af1e308ed97a7161b389487866d12d9927 (diff) | |
download | mdso-55faed6a1cdc906cdd7f5c81b155810d3d949ecc.tar.bz2 mdso-55faed6a1cdc906cdd7f5c81b155810d3d949ecc.tar.xz |
argv.h: argv_show_error(): prefix illegal short options with a dash.
Diffstat (limited to 'src')
-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 e0cc5f3..fd0c3ac 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: |