summaryrefslogtreecommitdiffstats
path: root/llvm/tools
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools')
-rwxr-xr-xllvm/tools/opt-viewer/opt-viewer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/opt-viewer/opt-viewer.py b/llvm/tools/opt-viewer/opt-viewer.py
index 5af78b062e6..7253d7c13ee 100755
--- a/llvm/tools/opt-viewer/opt-viewer.py
+++ b/llvm/tools/opt-viewer/opt-viewer.py
@@ -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')
OpenPOWER on IntegriCloud