Skip to content

Commit

Permalink
add 'dest' key to some parser options since we rely on this key and i…
Browse files Browse the repository at this point in the history
…t was undefined in places
  • Loading branch information
jlipps committed Jul 19, 2016
1 parent c22c00f commit 6413d55
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/parser.js
Expand Up @@ -11,20 +11,23 @@ const args = [
defaultValue: null,
help: 'Enter REPL mode',
nargs: 0,
dest: 'shell',
}],

[['--ipa'], {
required: false,
defaultValue: null,
help: '(IOS-only) abs path to compiled .ipa file',
example: '/abs/path/to/my.ipa',
dest: 'ipa',
}],

[['-a', '--address'], {
defaultValue: '0.0.0.0',
required: false,
example: '0.0.0.0',
help: 'IP Address to listen on',
dest: 'address',
}],

[['-p', '--port'], {
Expand All @@ -33,6 +36,7 @@ const args = [
type: 'int',
example: '4723',
help: 'port to listen on',
dest: 'port',
}],

[['-ca', '--callback-address'], {
Expand Down Expand Up @@ -141,12 +145,14 @@ const args = [
defaultValue: null,
required: false,
example: 'localhost:9876',
dest: 'webhook',
help: 'Also send log output to this HTTP listener',
}],

[['--safari'], {
defaultValue: false,
action: 'storeTrue',
dest: 'safari',
required: false,
help: '(IOS-Only) Use the safari app',
nargs: 0,
Expand Down Expand Up @@ -198,6 +204,7 @@ const args = [
[['--nodeconfig'], {
required: false,
defaultValue: null,
dest: 'nodeconfig',
help: 'Configuration JSON file to register appium with selenium grid',
example: '/abs/path/to/nodeconfig.json',
}],
Expand Down

0 comments on commit 6413d55

Please sign in to comment.