mirror of
https://github.com/danog/ir.git
synced 2024-11-26 12:24:56 +01:00
[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 <tao.su@intel.com>
This commit is contained in:
parent
007856ffd6
commit
42882d18f1
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user