From 17029ba695403c151aecabbac11eb29c9062dbf0 Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Fri, 30 Nov 2012 11:15:57 +0100 Subject: [PATCH] Also print the numeric -O flag which would enable an optimization when listing optimizations via -Ohelp --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.2