Skip to content

Commit 9263647

Browse files
authored
Merge pull request #6 from PolyhedraZK/hc/fix_demo_bug
fix a bug in demo
2 parents e611008 + aa63f0c commit 9263647

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demos/node/src/cli/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Notes:
6969
export async function runCli(argv: string[]) {
7070
const { positionals, flags } = parseArgs(argv);
7171
const command = positionals[0];
72-
if (!command || flags.help) {
72+
if (!command || command === 'help' || command === '--help' || flags.help) {
7373
process.stdout.write(helpText.trimStart());
7474
process.stdout.write('\n');
7575
return;

0 commit comments

Comments
 (0)