From a83ebf963950445ec30130f048fda5343ca8f621 Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 25 Oct 2016 00:05:47 -0400 Subject: argv.h: argv_usage(): use correct format for short option name in short mode. --- src/internal/argv/argv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/internal/argv') 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", -- cgit v1.2.3