summaryrefslogtreecommitdiff
path: root/src/internal
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-01-03 10:09:12 -0500
committermidipix <writeonce@midipix.org>2016-11-10 23:35:35 -0500
commit6b04c60f081f82190ef83dc417f02e853a01e73d (patch)
tree7f43f66d1cad80070f5ab461f3cd0b55a49368f9 /src/internal
parent76d6a3cfe14e09d13fb2a7324fad16e13bbf3caa (diff)
downloadperk-6b04c60f081f82190ef83dc417f02e853a01e73d.tar.bz2
perk-6b04c60f081f82190ef83dc417f02e853a01e73d.tar.xz
argv.h: argv_show_error(): prefix illegal short options with a dash.
Diffstat (limited to 'src/internal')
-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: