From e25465301d2e58ae54f650e3b02a79abbd569e86 Mon Sep 17 00:00:00 2001 From: Samuel Kaiser Date: Mon, 18 May 2020 17:38:48 +0200 Subject: [PATCH] Remove misleading shorthand arguments. Fixes #8 --- index.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/index.js b/index.js index 7780437..75494bd 100644 --- a/index.js +++ b/index.js @@ -9,11 +9,11 @@ prog .version(pkg.version) .command('start', 'Start cast-web-api as daemon') - .option('-H --hostname ', 'Hostname cast-web-api webserver should bind to') - .option('-p --port ', 'Port cast-web-api webserver should bind to') - .option('-d --debug ', 'Toggles debugging log messages') - .option('-a --autoConnect ', 'Cast devices auto connect on discovery, devices will reconnect regardless on address change.') - .option('-r --reconnectTimeout ', 'Cast devices trie to reconnect every x ms if it goes down') + .option('--hostname ', 'Hostname cast-web-api webserver should bind to') + .option('--port ', 'Port cast-web-api webserver should bind to') + .option('--debug ', 'Toggles debugging log messages') + .option('--autoConnect ', 'Cast devices auto connect on discovery, devices will reconnect regardless on address change.') + .option('--reconnectTimeout ', 'Cast devices trie to reconnect every x ms if it goes down') .action((args, options, logger) => { let spinner = Ora('Starting cast-web-api').start();