Fix the 'target variable' help syntax to output one or more <variable-name>'s.
Add a simple test case for that.
llvm-svn: 138281
diff --git a/lldb/test/help/TestHelp.py b/lldb/test/help/TestHelp.py
index 2430a2e..3c338a7 100644
--- a/lldb/test/help/TestHelp.py
+++ b/lldb/test/help/TestHelp.py
@@ -93,6 +93,11 @@
self.expect("help image du line",
substrs = ['Dump the debug symbol file for one or more target modules'])
+ def test_help_target_variable_syntax(self):
+ """Command 'help target variable' should display <variable-name> ..."""
+ self.expect("help target variable",
+ substrs = ['<variable-name> [<variable-name> [...]]'])
+
if __name__ == '__main__':
import atexit