Index: build/android/test_runner.py |
diff --git a/build/android/test_runner.py b/build/android/test_runner.py |
index 23c403995953224f97282d1639d12c9c49c6600c..cb5d1ccd31ed1ab2ac2142319151d42a3945b790 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', '--screenshot-dir', dest='screenshot_dir', |
help='Capture screenshots of test failures') |
argument_group.add_argument( |
'--save-perf-json', action='store_true', |