From 296573ae017d137a0b4268a96ea45b753bd66305 Mon Sep 17 00:00:00 2001 From: Tyler Stewart Date: Mon, 10 Aug 2020 16:54:29 -0600 Subject: [PATCH] fix: cli arg consistency --- bin/index.js | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/bin/index.js b/bin/index.js index 941b3739..4466127e 100755 --- a/bin/index.js +++ b/bin/index.js @@ -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(); }