Convert CommandObject constructors to StringRef.

llvm-svn: 283384
diff --git a/lldb/source/Interpreter/Options.cpp b/lldb/source/Interpreter/Options.cpp
index f8eadcc..3473c20 100644
--- a/lldb/source/Interpreter/Options.cpp
+++ b/lldb/source/Interpreter/Options.cpp
@@ -406,7 +406,7 @@
 
   auto opt_defs = GetDefinitions();
   const uint32_t save_indent_level = strm.GetIndentLevel();
-  const char *name;
+  llvm::StringRef name;
 
   StreamString arguments_str;