diff options
author | midipix <writeonce@midipix.org> | 2016-10-25 00:05:47 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-11 00:22:50 -0500 |
commit | a83ebf963950445ec30130f048fda5343ca8f621 (patch) | |
tree | 2aa00fa42f6c445729ac82e6eb9e709d3bd7902e /src/internal | |
parent | b183d1ada2b4db899179e1865d4248f8e950a1ca (diff) | |
download | mdso-a83ebf963950445ec30130f048fda5343ca8f621.tar.bz2 mdso-a83ebf963950445ec30130f048fda5343ca8f621.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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/argv/argv.h b/src/internal/argv/argv.h index b6d50aa..bfdd9bd 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", |