Adding two new options to the 'help' command:
 --show-aliases (-a) shows aliases for commands, as well as built-in commands
 --hide-user-defined (-u) hides user defined commands
by default 'help' without arguments does not show aliases anymore. to see them, add --show-aliases
to have only built-in commands appear, use 'help --hide-user-defined' ; there is currently no way to hide
built-in commands from the help output
'help command' is not changed by this commit, and help is shown even if command is an alias and -a is not specified

llvm-svn: 139377
diff --git a/lldb/test/help/TestHelp.py b/lldb/test/help/TestHelp.py
index e21fa1e..73e059a 100644
--- a/lldb/test/help/TestHelp.py
+++ b/lldb/test/help/TestHelp.py
@@ -18,6 +18,18 @@
         self.expect("help",
             startstr = 'The following is a list of built-in, permanent debugger commands')
 
+        self.expect("help", matching=False,
+                    substrs = ['next'])
+        
+        self.expect("help -a", matching=True,
+                    substrs = ['next'])
+    
+    def test_help_on_help(self):
+        """Testing the help on the help facility."""
+        self.expect("help help", matching=True,
+                    substrs = ['--show-aliases',
+                               '--hide-user-commands'])
+
     def version_number_string(self):
         """Helper function to find the version number string of lldb."""
         plist = os.path.join(os.environ["LLDB_SRC"], "resources", "LLDB-Info.plist")