lib/uispecrunner/options.rb in uispecrunner-0.4.2 vs lib/uispecrunner/options.rb in uispecrunner-0.4.3
- old
+ new
@@ -93,9 +93,15 @@
'Run the specified XCode target.',
'Default: UISpec') do |target|
self[:target] = target
end
+ o.on('-f', '--family [FAMILY]',
+ 'Utilize the specified device family: iphone or ipad. (Requires --driver waxsim)',
+ 'Default: iphone') do |family|
+ self[:family] = family
+ end
+
o.on('--builddir [BUILD_DIR]',
'Run app in the build directory.',
'Default: ./build') do |build_dir|
self[:build_dir] = build_dir
end