[Lldb-commits] [lldb] r116180 - /lldb/trunk/tools/driver/Driver.cpp

Greg Clayton gclayton at apple.com
Sun Oct 10 18:13:37 PDT 2010


Author: gclayton
Date: Sun Oct 10 20:13:37 2010
New Revision: 116180

URL: http://llvm.org/viewvc/llvm-project?rev=116180&view=rev
Log:
Exit if the command line is started with "--help".

Modified:
    lldb/trunk/tools/driver/Driver.cpp

Modified: lldb/trunk/tools/driver/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/driver/Driver.cpp?rev=116180&r1=116179&r2=116180&view=diff
==============================================================================
--- lldb/trunk/tools/driver/Driver.cpp (original)
+++ lldb/trunk/tools/driver/Driver.cpp Sun Oct 10 20:13:37 2010
@@ -651,6 +651,7 @@
     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)
     {





More information about the lldb-commits mailing list