lib/startup_time/options.rb in startup-time-1.0.0 vs lib/startup_time/options.rb in startup-time-1.1.0
- old
+ new
@@ -46,21 +46,22 @@
@rounds = value
end
opts.on(
'--clean',
- 'Remove the build directory and exit (targets will be ',
- 'recompiled on the next run)'
+ 'Remove the build directory and exit',
+ '(targets will be recompiled on the next run)'
) do
@action = :clean
end
opts.on(
'-d',
'--dir PATH',
String,
- "Specify the build directory (default: #{BUILD_DIR})"
+ 'Specify the build directory',
+ "(default: #{BUILD_DIR})"
) do |value|
@build_dir = value
end
opts.on(
@@ -91,21 +92,19 @@
opts.on(
'-o',
'--only LIST',
Array, # comma-separated strings
- 'Only execute the specified tests (comma-separated list of ',
- 'IDs/groups)'
+ 'Only execute the specified tests (comma-separated list of IDs/groups)'
) do |values|
values.each { |value| registry.only(value.strip) }
end
opts.on(
'-O',
'--omit LIST',
Array, # comma-separated strings
- "Don't execute the specified tests (comma-separated list ",
- 'of IDs/groups)'
+ "Don't execute the specified tests (comma-separated list of IDs/groups)"
) do |values|
values.each { |value| registry.omit(value.strip) }
end
opts.on(