Add processing of '-help' option.

llvm-svn: 145516
This commit is contained in:
Johnny Chen 2011-11-30 19:46:37 +00:00
parent eb44edad6d
commit 442b57c64d
1 changed files with 3 additions and 0 deletions

View File

@ -102,6 +102,9 @@ def main():
index = 1 index = 1
while index < len(sys.argv): while index < len(sys.argv):
if sys.argv[index].startswith('-h'):
usage()
if sys.argv[index].startswith('-'): if sys.argv[index].startswith('-'):
# We should continue processing... # We should continue processing...
pass pass