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/functionalities/command_python/TestCommandPython.py b/lldb/test/functionalities/command_python/TestCommandPython.py
index a1ea191..2435651 100644
--- a/lldb/test/functionalities/command_python/TestCommandPython.py
+++ b/lldb/test/functionalities/command_python/TestCommandPython.py
@@ -38,6 +38,18 @@
                     substrs = ['Just a docstring for welcome_impl',
                                'A command that says hello to LLDB users'])
 
+        self.expect("help",
+                    substrs = ['Run Python function welcome.welcome_impl',
+                               'welcome'])
+
+        self.expect("help -a",
+                    substrs = ['Run Python function welcome.welcome_impl',
+                               'welcome'])
+
+        self.expect("help -u", matching=False,
+                    substrs = ['Run Python function welcome.welcome_impl',
+                               'welcome'])
+
         self.runCmd("command script delete welcome");
 
         self.expect('welcome Enrico', matching=False, error=True,