[Lldb-commits] [lldb] r162502 - /lldb/trunk/test/redo.py

Johnny Chen johnny.chen at apple.com
Thu Aug 23 16:45:26 PDT 2012


Author: johnny
Date: Thu Aug 23 18:45:26 2012
New Revision: 162502

URL: http://llvm.org/viewvc/llvm-project?rev=162502&view=rev
Log:
Take '--help' as well as '-h' as hint to emit the usage output.

Modified:
    lldb/trunk/test/redo.py

Modified: lldb/trunk/test/redo.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/redo.py?rev=162502&r1=162501&r2=162502&view=diff
==============================================================================
--- lldb/trunk/test/redo.py (original)
+++ lldb/trunk/test/redo.py Thu Aug 23 18:45:26 2012
@@ -121,7 +121,7 @@
 
     index = 1
     while index < len(sys.argv):
-        if sys.argv[index].startswith('-h'):
+        if sys.argv[index].startswith('-h') or sys.argv[index].startswith('--help'):
             usage()
 
         if sys.argv[index].startswith('-'):





More information about the lldb-commits mailing list