[llvm] r319072 - [opt-viewer] Fix option name
Adam Nemet via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 27 11:00:22 PST 2017
Author: anemet
Date: Mon Nov 27 11:00:22 2017
New Revision: 319072
URL: http://llvm.org/viewvc/llvm-project?rev=319072&view=rev
Log:
[opt-viewer] Fix option name
Modified:
llvm/trunk/tools/opt-viewer/opt-viewer.py
Modified: llvm/trunk/tools/opt-viewer/opt-viewer.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/opt-viewer/opt-viewer.py?rev=319072&r1=319071&r2=319072&view=diff
==============================================================================
--- llvm/trunk/tools/opt-viewer/opt-viewer.py (original)
+++ llvm/trunk/tools/opt-viewer/opt-viewer.py Mon Nov 27 11:00:22 2017
@@ -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')
More information about the llvm-commits
mailing list