summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-10-25 00:05:47 -0400
committermidipix <writeonce@midipix.org>2016-10-25 00:11:07 -0400
commit2cab02e78443b17b84368a9f631ec13c24e3c7c7 (patch)
tree7158b836c34c896cf0a30ffaa3a7eb63b1101084
parent11deae4782811c1d8a2860f5d3dca57c3c06ccfb (diff)
downloadsofort-2cab02e78443b17b84368a9f631ec13c24e3c7c7.tar.bz2
sofort-2cab02e78443b17b84368a9f631ec13c24e3c7c7.tar.xz
argv.h: argv_usage(): use correct format for short option name in short mode.
-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 a3d9eca..7604c45 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",