Skip to content

Commit

Permalink
chore(cli): show global options in wing cli (#4025)
Browse files Browse the repository at this point in the history
Closes #3181

*By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*.
  • Loading branch information
garysassano committed Sep 7, 2023
1 parent c0b77ca commit ba00a84
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions apps/wing/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ async function main() {

const program = new Command();

program.configureHelp({
sortOptions: true,
showGlobalOptions: true,
});

program.name("wing").version(PACKAGE_VERSION);

program
Expand Down

0 comments on commit ba00a84

Please sign in to comment.