diff options
author | midipix <writeonce@midipix.org> | 2016-01-03 10:10:49 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-01-03 10:10:49 -0500 |
commit | d83bc0ff7a851e3f3f8409b9f32d5287270721fc (patch) | |
tree | c8575e6ada72ba3d2aa1541c2c2636f12cefea5f | |
parent | 135c1e18b57cf7caea3921f2ffa53aac23218d74 (diff) | |
download | apimagic-d83bc0ff7a851e3f3f8409b9f32d5287270721fc.tar.bz2 apimagic-d83bc0ff7a851e3f3f8409b9f32d5287270721fc.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 b0825d5..299411a 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: |