Skip to content

Commit 688dfed

Browse files
committed
#10 Fix mistake and use stdout instead of stderr
1 parent 068c750 commit 688dfed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/templates.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Usage: adrjs [-h] version
4343
`.trim();
4444

4545
export const defaultText = `
46-
Usage: adrjs [-h] (init|new|version)
46+
Usage: adrjs (init|new|version) [-h]
4747
4848
-h Show the help screen for each command.
4949
`.trim();

src/util.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export function printHelp(page: COMMANDS | string) {
2323
console.log(versionText);
2424
return;
2525
default:
26-
console.error(defaultText);
26+
console.log(defaultText);
2727
}
2828
}
2929

0 commit comments

Comments
 (0)