[Lldb-commits] [lldb] r222479 - Make the option parsing of -k & -K match the help strings.

Jim Ingham jingham at apple.com
Thu Nov 20 15:37:13 PST 2014


Author: jingham
Date: Thu Nov 20 17:37:13 2014
New Revision: 222479

URL: http://llvm.org/viewvc/llvm-project?rev=222479&view=rev
Log:
Make the option parsing of -k & -K match the help strings.

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=222479&r1=222478&r2=222479&view=diff
==============================================================================
--- lldb/trunk/tools/driver/Driver.cpp (original)
+++ lldb/trunk/tools/driver/Driver.cpp Thu Nov 20 17:37:13 2014
@@ -747,10 +747,10 @@ Driver::ParseArgs (int argc, const char
                         m_option_data.m_source_quietly = true;
                         break;
 
-                    case 'k':
+                    case 'K':
                         m_option_data.AddInitialCommand(optarg, eCommandPlacementAfterCrash, true, error);
                         break;
-                    case 'K':
+                    case 'k':
                         m_option_data.AddInitialCommand(optarg, eCommandPlacementAfterCrash, false, error);
                         break;
 





More information about the lldb-commits mailing list