diff --git a/bin.js b/bin.js index 45d8226..5d08209 100644 --- a/bin.js +++ b/bin.js @@ -70,7 +70,9 @@ function parseArgs() { process.exit(0); } else if (argv.i) { opn('https://github.com/jhotmann/node-rename-cli'); - process.exit(0); + if (process.platform !== 'win32') { + process.exit(0); + } } else if (argv.u) { // undo previous rename index.undoRename(); } else { // proceed to index.js to do the rename