Exit if the command line is started with "--help".

llvm-svn: 116180
This commit is contained in:
Greg Clayton 2010-10-11 01:13:37 +00:00
parent 6eee5aa067
commit e46dd32b69
1 changed files with 1 additions and 0 deletions

View File

@ -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)
{