Skip to content

Commit

Permalink
fix: help command (#161)
Browse files Browse the repository at this point in the history
* fix: build command using --help same as all others

* chore: changeset
  • Loading branch information
field123 authored Jan 23, 2024
1 parent 850fc9f commit 09c8654
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/fuzzy-scissors-smile.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"composable-cli": patch
---

build command using --help instead of --h to keep aligned with all other help commands
2 changes: 1 addition & 1 deletion packages/composable-cli/src/composable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export async function main({
.example("$0 logout", "logout of the CLI")
.strictCommands()
.demandCommand(1)
.help("h").argv
.help().argv

return 0
} catch (e) {
Expand Down

0 comments on commit 09c8654

Please sign in to comment.