summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-10-25 00:05:47 -0400
committermidipix <writeonce@midipix.org>2016-10-25 00:07:33 -0400
commite86561402248b6f4a6f7a4e267cc241d7bd54e82 (patch)
tree7c0d82a66ef2e7d67324b6b08d25e180573ac634 /src
parentaa02dd95b89b220ad42219879123a2020682c026 (diff)
downloadapimagic-e86561402248b6f4a6f7a4e267cc241d7bd54e82.tar.bz2
apimagic-e86561402248b6f4a6f7a4e267cc241d7bd54e82.tar.xz
argv.h: argv_usage(): use correct format for short option name in short mode.
Diffstat (limited to 'src')
-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 fec0729..df2e264 100644
--- a/src/internal/argv/argv.h
+++ b/src/internal/argv/argv.h
@@ -832,7 +832,7 @@ static void argv_usage(
indent,option->short_name,prefix,option->long_name);
else if ((fshort || fboth) && option->short_name)
- sprintf(optstr,"%s-%d",indent,option->short_name);
+ sprintf(optstr,"%s-%c",indent,option->short_name);
else if (flong && option->long_name)
sprintf(optstr,"%s%s%s",