orbea / cross / slibtool

Forked from cross/slibtool 4 years ago
Clone

5a0a23 argv.h: argv_usage(): use correct format for short option name in short mode.

Authored and Committed by midipix 8 years ago
    argv.h: argv_usage(): use correct format for short option name in short mode.
    
        
file modified
+1 -1
src/internal/argv/argv.h CHANGED
@@ -832,7 +832,7 @@ static void argv_usage(
832
832
indent,option->short_name,prefix,option->long_name);
833
833
834
834
else if ((fshort || fboth) && option->short_name)
835
- sprintf(optstr,"%s-%d",indent,option->short_name);
835
+ sprintf(optstr,"%s-%c",indent,option->short_name);
836
836
837
837
else if (flong && option->long_name)
838
838
sprintf(optstr,"%s%s%s",