]> granicus.if.org Git - llvm/commitdiff
[opt-viewer] Fix option name
authorAdam Nemet <anemet@apple.com>
Mon, 27 Nov 2017 19:00:22 +0000 (19:00 +0000)
committerAdam Nemet <anemet@apple.com>
Mon, 27 Nov 2017 19:00:22 +0000 (19:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319072 91177308-0d34-0410-b5e6-96231b3b80d8

tools/opt-viewer/opt-viewer.py

index 5af78b062e63cf434c609b4c506754296366993a..7253d7c13ee8f7c495b06e6ae54cba6585f8291a 100755 (executable)
@@ -258,7 +258,7 @@ if __name__ == '__main__':
         type=int,
         help='Max job count (defaults to %(default)s, the current CPU count)')
     parser.add_argument(
-        '-source-dir',
+        '--source-dir',
         '-s',
         default='',
         help='set source directory')