diff options
author | midipix <writeonce@midipix.org> | 2016-01-03 10:05:56 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-01-03 10:05:56 -0500 |
commit | 9a57dbb676e079b4959db1cdeff5f480feb66217 (patch) | |
tree | 580c210f5035c9054172cb8bb402621f469f7912 | |
parent | 134b58676d1cde48202de4ec19f7cd34f7f2802c (diff) | |
download | sofort-9a57dbb676e079b4959db1cdeff5f480feb66217.tar.bz2 sofort-9a57dbb676e079b4959db1cdeff5f480feb66217.tar.xz |
argv.h: argv_show_error(): prefix illegal short options with a dash.
-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 903c502..fa79e5f 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: |