Skip to content

Commit

Permalink
Default to mercy on iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
bootstraponline committed Mar 12, 2014
1 parent 035bf33 commit 19b8fc4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
5 changes: 3 additions & 2 deletions docs/server-args.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ All flags are optional, but some are required in conjunction with certain others
|`--log-no-colors`|false|Don't use colors in console output||
|`-G`, `--webhook`|null|Also send log output to this HTTP listener|`--webhook localhost:9876`|
|`--native-instruments-lib`|false|(IOS-only) IOS has a weird built-in unavoidable delay. We patch this in appium. If you do not want it patched, pass in this flag.||
|`--merciful`, `-m`|false|Don't run the watcher process that will force-kill an unresponsive instruments||
|`--merciful`, `-m`|true|[DEPRECATED] Don't run the watcher process that will force-kill an unresponsive instruments||
|`--not-merciful`, `-nm`|false|Run the watcher process that will force-kill an unresponsive instruments||
|`--app-pkg`|null|(Android-only) Java package of the Android app you want to run (e.g., com.example.android.myApp)|`--app-pkg com.example.android.myApp`|
|`--app-activity`|null|(Android-only) Activity name for the Android activity you want to launch from your package (e.g., MainActivity)|`--app-activity MainActivity`|
|`--app-wait-package`|false|(Android-only) Package name for the Android activity you want to wait for (e.g., com.example.android.myApp)|`--app-wait-package com.example.android.myApp`|
Expand All @@ -54,7 +55,7 @@ All flags are optional, but some are required in conjunction with certain others
|`--selendroid-port`|8080|Local port used for communication with Selendroid|`--selendroid-port 8080`|
|`--chromedriver-port`|9515|Port upon which ChromeDriver will run|`--chromedriver-port 9515`|
|`--use-keystore`|false|(Android-only) When set the keystore will be used to sign apks.||
|`--keystore-path`|/Users/jlipps/.android/debug.keystore|(Android-only) Path to keystore||
|`--keystore-path`|/Users/user/.android/debug.keystore|(Android-only) Path to keystore||
|`--keystore-password`|android|(Android-only) Password to keystore||
|`--key-alias`|androiddebugkey|(Android-only) Key alias||
|`--key-password`|android|(Android-only) Key password||
Expand Down
14 changes: 12 additions & 2 deletions lib/server/parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,21 @@ var args = [
}],

[['--merciful', '-m'], {
defaultValue: false
defaultValue: true
, dest: 'merciful'
, action: 'storeTrue'
, required: false
, help: "Don't run the watcher process that will force-kill an " +
, help: "[DEPRECATED] Don't run the watcher process that will force-kill an " +
"unresponsive instruments"
, nargs: 0
}],

[['--not-merciful', '-nm'], {
defaultValue: false
, dest: 'merciful'
, action: 'storeFalse'
, required: false
, help: "Run the watcher process that will force-kill an " +
"unresponsive instruments"
, nargs: 0
}],
Expand Down

0 comments on commit 19b8fc4

Please sign in to comment.