summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/internal/argv/argv.h2
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: