Skip to content

Commit

Permalink
feat: recommend matching commands (aws#5668)
Browse files Browse the repository at this point in the history
Co-authored-by: Elad Ben-Israel <benisrae@amazon.com>
  • Loading branch information
2 people authored and mergify[bot] committed Jan 7, 2020
1 parent 9069d5f commit 6108b91
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/aws-cdk/bin/cdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ async function parseCommandLineArguments() {
.commandDir('../lib/commands', { exclude: /^_.*/ })
.version(version.DISPLAY_VERSION)
.demandCommand(1, '') // just print help
.recommendCommands()
.help()
.alias('h', 'help')
.epilogue([
Expand Down

0 comments on commit 6108b91

Please sign in to comment.