summaryrefslogtreecommitdiff
path: root/src/internal
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-10-25 00:05:47 -0400
committermidipix <writeonce@midipix.org>2016-10-25 00:10:32 -0400
commit5a0a2301d75f01990618df2e962534e846c0d1ae (patch)
tree58d0177967b327c5c50511a6143b3b26b42eb6b1 /src/internal
parenta136610f243aa5c67b8646b07a3a4cb53ee4e4b8 (diff)
downloadslibtool-5a0a2301d75f01990618df2e962534e846c0d1ae.tar.bz2
slibtool-5a0a2301d75f01990618df2e962534e846c0d1ae.tar.xz
argv.h: argv_usage(): use correct format for short option name in short mode.
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 79c225a..c542f0e 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",