Skip to content

Commit 3b7a54e

Browse files
Display program and script name in usage string
1 parent 84832b7 commit 3b7a54e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tokenizers/javascript/parser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function extractForFolder(dir, identifiersOnly, outpath, baseDir) {
5555
}
5656

5757
if (process.argv.length != 4) {
58-
console.error(`Usage: ${process.argv[0]} PROJECTS_FOLDER OUTPUT_FOLDER`);
58+
console.error(`Usage: ${process.argv[0]} ${process.argv[1]} PROJECTS_FOLDER OUTPUT_FOLDER`);
5959
process.exit(1);
6060
}
6161

0 commit comments

Comments
 (0)