Make the option parsing of -k & -K match the help strings.
authorJim Ingham <jingham@apple.com>
Thu, 20 Nov 2014 23:37:13 +0000 (23:37 +0000)
committerJim Ingham <jingham@apple.com>
Thu, 20 Nov 2014 23:37:13 +0000 (23:37 +0000)
llvm-svn: 222479

lldb/tools/driver/Driver.cpp

index 206a2f6..9b1e588 100644 (file)
@@ -747,10 +747,10 @@ Driver::ParseArgs (int argc, const char *argv[], FILE *out_fh, bool &exiting)
                         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;