Skip to content

Commit

Permalink
#1325: Maintain parity for --help and print to stdout instead of stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
pirog committed Feb 8, 2019
1 parent e7a2f40 commit 76fa5f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cli.js
Expand Up @@ -320,7 +320,7 @@ module.exports = class Cli {
// Show help unless this is a delegation command
const current = _.find(tasks, {command: yargs.argv._[0]});
if ((yargs.argv.help || yargs.argv.lando) && _.get(current, 'delegate', false) === false) {
yargs.showHelp();
yargs.showHelp('log');
process.exit(0);
}

Expand Down

0 comments on commit 76fa5f2

Please sign in to comment.