From 42882d18f12920d11942ee62e718056d86d63bd3 Mon Sep 17 00:00:00 2001 From: Tony Su Date: Tue, 9 May 2023 09:23:36 +0800 Subject: [PATCH] [ir_main]: print default optimization level in help message At first, I had thought optimization is disabled without -O option, in fact, the default level is 2 and let's make it clear in --help message. Signed-off-by: Tony Su --- ir_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ir_main.c b/ir_main.c index 6a22531..2592ca0 100644 --- a/ir_main.c +++ b/ir_main.c @@ -18,7 +18,7 @@ static void help(const char *cmd) printf( "Usage: %s [options] input-file...\n" "Options:\n" - " -O[012] - optimiztion level\n" + " -O[012] - optimiztion level (default: 2)\n" " -S - dump final target assembler code\n" #if defined(IR_TARGET_X86) || defined(IR_TARGET_X64) " -mavx - use AVX instruction set\n"