mirror of
https://github.com/intel/llvm.git
synced 2026-01-15 12:25:46 +08:00
Exit if the command line is started with "--help".
llvm-svn: 116180
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user