Index: build/android/test_runner.py |
diff --git a/build/android/test_runner.py b/build/android/test_runner.py |
index 8655720810882b7b9c3d834348890352510315bb..b68a5aa0beb85898df2aeaabc81e6f43c84f2b2e 100755 |
--- a/build/android/test_runner.py |
+++ b/build/android/test_runner.py |
@@ -357,16 +357,22 @@ def ProcessUIAutomatorOptions(options, error_func): |
def AddMonkeyTestOptions(option_parser): |
"""Adds monkey test options to |option_parser|.""" |
+ |
+ option_parser.usage = '%prog monkey [options]' |
+ option_parser.command_list = [] |
+ option_parser.example = ( |
+ '%prog monkey --package-name=org.chromium.content_shell_apk' |
+ ' --activity-name=.ContentShellActivity') |
+ |
option_parser.add_option('--package-name', help='Allowed package.') |
option_parser.add_option( |
- '--activity-name', default='com.google.android.apps.chrome.Main', |
- help='Name of the activity to start [default: %default].') |
+ '--activity-name', help='Name of the activity to start.') |
option_parser.add_option( |
'--event-count', default=10000, type='int', |
help='Number of events to generate [default: %default].') |
option_parser.add_option( |
'--category', default='', |
- help='A list of allowed categories [default: %default].') |
+ help='A list of allowed categories.') |
option_parser.add_option( |
'--throttle', default=100, type='int', |
help='Delay between events (ms) [default: %default]. ') |