We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7888ac5 commit fa37fe1Copy full SHA for fa37fe1
.changeset/yellow-eagles-rescue.md
@@ -0,0 +1,5 @@
1
+---
2
+'@hypermod/cli': patch
3
4
+
5
+Correctly report invalid user input errors
packages/cli/src/index.ts
@@ -169,8 +169,8 @@ Examples:
169
}
170
171
if (error instanceof InvalidUserInputError) {
172
- console.warn(program.help());
173
console.warn(chalk.red(error.message));
+ console.warn(program.help());
174
process.exit(9);
175
176
0 commit comments