From: Wolfgang (Blub) Bumiller Date: Fri, 30 Nov 2012 10:15:57 +0000 (+0100) Subject: Also print the numeric -O flag which would enable an optimization when listing optimi... X-Git-Tag: 0.1.9~198 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=17029ba695403c151aecabbac11eb29c9062dbf0;p=xonotic%2Fgmqcc.git Also print the numeric -O flag which would enable an optimization when listing optimizations via -Ohelp --- diff --git a/main.c b/main.c index 6aad127..db9f2b8 100644 --- a/main.c +++ b/main.c @@ -378,7 +378,7 @@ static bool options_parse(int argc, char **argv) { con_out("Possible optimizations:\n"); for (itr = 0; itr < COUNT_OPTIMIZATIONS; ++itr) { util_strtononcmd(opts_opt_list[itr].name, buffer, sizeof(buffer)); - con_out(" -O%s\n", buffer); + con_out(" -O%-20s (-O%u)\n", buffer, opts_opt_oflag[itr]); } exit(0); }