Index: build/android/test_runner.py |
diff --git a/build/android/test_runner.py b/build/android/test_runner.py |
index 23c403995953224f97282d1639d12c9c49c6600c..604c676922fbaa4d0c2ebf8338880c490b5fa12a 100755 |
--- a/build/android/test_runner.py |
+++ b/build/android/test_runner.py |
@@ -337,7 +337,7 @@ def AddJavaTestOptions(argument_group): |
help=('Comma-separated list of annotations. Exclude tests with these ' |
'annotations.')) |
argument_group.add_argument( |
- '--screenshot', dest='screenshot_failures', action='store_true', |
+ '--screenshot-directory', dest='screenshot_dir', |
help='Capture screenshots of test failures') |
argument_group.add_argument( |
'--save-perf-json', action='store_true', |