Also print the numeric -O flag which would enable an optimization when listing optimizations via -Ohelp

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-11-30 11:15:57 +01:00
parent e1fe6cff54
commit 17029ba695

2
main.c
View file

@ -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);
}