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