Skip to content

Commit 45a45d8

Browse files
Update apps/rush-lib/src/scripts/install-run-rush.ts
Co-Authored-By: Ian Clanton-Thuon <iclanton@users.noreply.github.com>
1 parent 722de3d commit 45a45d8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

apps/rush-lib/src/scripts/install-run-rush.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,11 @@ function run(): void {
5959

6060
if (process.argv.length < 3) {
6161
console.log(`Usage: ${scriptName} <command> [args...]`);
62-
console.log(`Example: ${scriptName} build --to myproject`);
62+
if (scriptName === 'install-run-rush.js') {
63+
console.log(`Example: ${scriptName} build --to myproject`);
64+
} else {
65+
console.log(`Example: ${scriptName} custom-command`);
66+
}
6367
process.exit(1);
6468
}
6569

0 commit comments

Comments
 (0)