Skip to content

Commit

Permalink
fix: cli arg consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyler Stewart authored and trs committed Aug 13, 2020
1 parent be579f6 commit 296573a
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions bin/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,22 @@ function setupYargs() {
boolean: true,
default: false
})
.option('pasv_url', {
.option('pasv-url', {
describe: 'URL to provide for passive connections',
type: 'string'
type: 'string',
alias: 'pasv_url'
})
.option('pasv_min', {
.option('pasv-min', {
describe: 'Starting point to use when creating passive connections',
type: 'number',
default: 1024
default: 1024,
alias: 'pasv_min'
})
.option('pasv_max', {
.option('pasv-max', {
describe: 'Ending port to use when creating passive connections',
type: 'number',
default: 65535
default: 65535,
alias: 'pasv_max'
})
.parse();
}
Expand Down

0 comments on commit 296573a

Please # to comment.