forked from OSchip/llvm-project
Exit if the command line is started with "--help".
llvm-svn: 116180
This commit is contained in:
parent
6eee5aa067
commit
e46dd32b69
|
@ -651,6 +651,7 @@ Driver::ParseArgs (int argc, const char *argv[], FILE *out_fh, bool &exit)
|
|||
if (error.Fail() || m_option_data.m_print_help)
|
||||
{
|
||||
ShowUsage (out_fh, g_options, m_option_data);
|
||||
exit = true;
|
||||
}
|
||||
else if (m_option_data.m_print_version)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue