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-11-10 23:35:54 -0500
commit37dec1b0e9b49f88048cbc5ac75ef08c31243b44 (patch)
treef672f14e0c56a5b92fe0509a35e81307d48d8326 /src/internal
parentacad6b4b0458a0b2e456bd96baf588566cc8e3ab (diff)
downloadperk-37dec1b0e9b49f88048cbc5ac75ef08c31243b44.tar.bz2
perk-37dec1b0e9b49f88048cbc5ac75ef08c31243b44.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 69298e6..71cb104 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",