We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e611008 + aa63f0c commit 9263647Copy full SHA for 9263647
demos/node/src/cli/main.ts
@@ -69,7 +69,7 @@ Notes:
69
export async function runCli(argv: string[]) {
70
const { positionals, flags } = parseArgs(argv);
71
const command = positionals[0];
72
- if (!command || flags.help) {
+ if (!command || command === 'help' || command === '--help' || flags.help) {
73
process.stdout.write(helpText.trimStart());
74
process.stdout.write('\n');
75
return;
0 commit comments