Added a "--no-lldbinit" option (-n for short (which magically matches
what gdb uses)) so we can tell our "lldb" driver program to not automatically
parse any .lldbinit files. 



git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116179 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/driver/Driver.cpp b/tools/driver/Driver.cpp
index 842d67d..b3b1081 100644
--- a/tools/driver/Driver.cpp
+++ b/tools/driver/Driver.cpp
@@ -75,6 +75,9 @@
     { LLDB_OPT_SET_ALL,  false,  "editor",           'e',  no_argument,  NULL,  NULL,  eArgTypeNone,
         "Tells the debugger to open source files using the host's \"external editor\" mechanism." },
 
+    { LLDB_OPT_SET_ALL,  false,  "no-lldbinit",           'n',  no_argument,  NULL,  NULL,  eArgTypeNone,
+        "Do not automatically parse any '.lldbinit' files." },
+
 //    { LLDB_OPT_SET_4,  true,  "crash-log",      'c',  required_argument,  NULL,  NULL,  eArgTypeFilename,
 //        "Load executable images from a crash log for symbolication." },
 
@@ -554,10 +557,15 @@
                     case 'c':
                         m_option_data.m_crash_log = optarg;
                         break;
+
                     case 'e':
                         m_option_data.m_use_external_editor = true;
                         break;
-                        
+
+                    case 'n':
+                        m_debugger.SkipLLDBInitFiles (true);
+                        break;
+
                     case 'f':
                         {
                             SBFileSpec file(optarg);