Skip to content

Commit 8166d40

Browse files
committed
Fix error message instructions
1 parent c59bad4 commit 8166d40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

slice.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ function continueSlicing(image, width, height, inputFilename) {
6868
const [filename, width, height] = process.argv.slice(2);
6969

7070
if (!filename || !width) {
71-
console.log("Usage: node sliceImage.js <filename> <width> [height]");
71+
console.log("Usage: node slice.cjs <filename> <width> [height]");
7272
} else {
7373
sliceImage(filename, parseInt(width), parseInt(height));
7474
}

0 commit comments

Comments
 (0)