summaryrefslogtreecommitdiffhomepage
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:09:58 -0400
commita9072c82d553bbc480c0c8d1f7f99bea0ba6467d (patch)
treee718b71ce381e9af7b7ccb8c380644e067c840fd /src
parenteb4b7f180fc68649327afb3c8c4fa7886b04968d (diff)
downloadptycon-a9072c82d553bbc480c0c8d1f7f99bea0ba6467d.tar.bz2
ptycon-a9072c82d553bbc480c0c8d1f7f99bea0ba6467d.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 31ca322..10ba416 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",