mirror of
https://github.com/cc65/cc65.git
synced 2025-08-07 15:25:31 +00:00
Make --list-opt-steps exclusive
git-svn-id: svn://svn.cc65.org/cc65/trunk@833 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -109,7 +109,7 @@ static void Usage (void)
|
||||
" --enable-opt name\tEnable an optimization step\n"
|
||||
" --help\t\tHelp (this text)\n"
|
||||
" --include-dir dir\tSet an include directory search path\n"
|
||||
" --list-opt-steps\tList all optimizer steps\n"
|
||||
" --list-opt-steps\tList all optimizer steps and exit\n"
|
||||
" --rodata-name seg\tSet the name of the RODATA segment\n"
|
||||
" --signed-chars\tDefault characters are signed\n"
|
||||
" --static-locals\tMake local variables static\n"
|
||||
@@ -485,7 +485,11 @@ static void OptIncludeDir (const char* Opt, const char* Arg)
|
||||
static void OptListOptSteps (const char* Opt, const char* Arg)
|
||||
/* List all optimizer steps */
|
||||
{
|
||||
/* List the optimizer steps */
|
||||
ListOptSteps (stdout);
|
||||
|
||||
/* Terminate */
|
||||
exit (EXIT_SUCCESS);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user