diff --git a/src/common/args.c b/src/common/args.c index 4359a47..e9239bc 100644 --- a/src/common/args.c +++ b/src/common/args.c @@ -190,13 +190,14 @@ char* build_short_options() { memset(str, 0, sizeof(char) * (len*2 + 1)); #ifdef ARCH_X86 - sprintf(str, "%c%c:%c:%c%c%c%c", - c[ARG_RAW], + sprintf(str, "%c:%c:%c%c%c%c%c", + c[ARG_STYLE], c[ARG_COLOR], c[ARG_HELP], c[ARG_RAW], + c[ARG_DEBUG], c[ARG_VERBOSE], c[ARG_VERSION]); #else sprintf(str, "%c:%c:%c%c%c%c", -#endif c[ARG_STYLE], c[ARG_COLOR], c[ARG_HELP], c[ARG_DEBUG], c[ARG_VERBOSE], c[ARG_VERSION]); +#endif return str; }