Skip to content

Commit fc267bd

Browse files
committed
change help message.
1 parent 0c8bd92 commit fc267bd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bin/smart_monkey

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ require 'smart_monkey'
1111

1212
opts = {}
1313
ARGV.options do |o|
14-
o.on('-a app_name', 'Target Application, abs path to simulator-compiled .app file or the bundle_id of the desired target on device(Required)') {|b| opts[:app_path] = b}
14+
o.on('-a app_name', 'Bundle ID of the desired target on device(Required)') {|b| opts[:app_path] = b}
1515
o.on('-w device', 'Target Device UDID(Required)') {|b| opts[:device] = b}
1616
o.on('-n run_count', 'How many times monkeys run(default: 1)') {|b| opts[:run_count] = b.to_i}
1717
o.on('-d result_dir', 'Where to output result(default: ./smart_monkey_result)') {|b| opts[:result_base_dir] = File.expand_path(b)}
18-
o.on('-t time_limit_sec', 'Time limit of running(default: 100 sec)') {|b| opts[:time_limit_sec] = b.to_i}
18+
o.on('-t time_limit_sec', 'Time limit of running') {|b| opts[:time_limit_sec] = b.to_i}
1919
o.on('-s dsym_file', 'Use .dSYM file to symbolicating crash logs') {|b| opts[:dsym_file_path] = File.expand_path(b)}
2020
o.on('-c custom_path', 'Configuration custom.js Path') {|b| opts[:custom_path] = File.expand_path(b)}
2121
o.on('-e extend_javascript_path', 'Extend Uiautomation Javascript for such Login scripts') {|b| opts[:extend_javascript_path] = File.expand_path(b)}
@@ -26,7 +26,7 @@ ARGV.options do |o|
2626
o.on('--list-app', 'Show List of Installed Apps in iPhone/iPhone Simulator') {|_| opts[:list_app] = true}
2727
o.on('--list-devices', 'Show List of Devices') {|_| opts[:list_devices] = true}
2828
o.on('--reset-iPhone-Simulator', 'Reset iPhone Simulator'){|_| opts[:reset_iphone_simulator] = true}
29-
o.on('--version', 'print crash monkey version'){|_| opts[:version] = true}
29+
o.on('--version', 'print smart monkey version'){|_| opts[:version] = true}
3030
o.parse!
3131
end
3232

0 commit comments

Comments
 (0)