From 6b04c60f081f82190ef83dc417f02e853a01e73d Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 3 Jan 2016 10:09:12 -0500 Subject: argv.h: argv_show_error(): prefix illegal short options with a dash. --- src/internal/argv/argv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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: -- cgit v1.2.3