Browse Source

doc: change to iojs from node in the usage message

PR-URL: https://github.com/iojs/io.js/pull/468
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
v1.8.0-commit
Jongyeol Choi 10 years ago
committed by Ben Noordhuis
parent
commit
daf9562d91
  1. 2
      lib/_debugger.js
  2. 4
      src/node.cc

2
lib/_debugger.js

@ -14,7 +14,7 @@ exports.start = function(argv, stdin, stdout) {
argv || (argv = process.argv.slice(2)); argv || (argv = process.argv.slice(2));
if (argv.length < 1) { if (argv.length < 1) {
console.error('Usage: node debug script.js'); console.error('Usage: iojs debug script.js');
process.exit(1); process.exit(1);
} }

4
src/node.cc

@ -2870,8 +2870,8 @@ static bool ParseDebugOpt(const char* arg) {
} }
static void PrintHelp() { static void PrintHelp() {
printf("Usage: node [options] [ -e script | script.js ] [arguments] \n" printf("Usage: iojs [options] [ -e script | script.js ] [arguments] \n"
" node debug script.js [arguments] \n" " iojs debug script.js [arguments] \n"
"\n" "\n"
"Options:\n" "Options:\n"
" -v, --version print node's version\n" " -v, --version print node's version\n"

Loading…
Cancel
Save