diff --git a/src/index.js b/src/index.js index 0f06fdd..f3fef06 100644 --- a/src/index.js +++ b/src/index.js @@ -4,6 +4,7 @@ const {spawn} = require("child_process"); const yargs = Yargs(process.argv.splice(2)) .scriptName('kr') .usage('kr [args] ') + .help() .option('_rpm', { default: 0, description: 'The amount of Retries Per Minute, before we stop retrying', @@ -20,7 +21,6 @@ const yargs = Yargs(process.argv.splice(2)) type: 'number' }) .conflicts('_rpm', '_rph') - .help(); const { _ = [], _rpm: rpm, _rph: rph, _delay: delay } = yargs.argv; const [command, ...args ] = _;