From daf9562d918b7926186471cd0db60cec2f72547a Mon Sep 17 00:00:00 2001 From: Jongyeol Choi Date: Fri, 16 Jan 2015 23:45:37 +0900 Subject: [PATCH] doc: change to iojs from node in the usage message PR-URL: https://github.com/iojs/io.js/pull/468 Reviewed-By: Ben Noordhuis --- lib/_debugger.js | 2 +- src/node.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/_debugger.js b/lib/_debugger.js index a0579e5cf5d18f..73674018ecfa00 100644 --- a/lib/_debugger.js +++ b/lib/_debugger.js @@ -14,7 +14,7 @@ exports.start = function(argv, stdin, stdout) { argv || (argv = process.argv.slice(2)); if (argv.length < 1) { - console.error('Usage: node debug script.js'); + console.error('Usage: iojs debug script.js'); process.exit(1); } diff --git a/src/node.cc b/src/node.cc index cae9bc85db391d..110fd9fb7d63a2 100644 --- a/src/node.cc +++ b/src/node.cc @@ -2870,8 +2870,8 @@ static bool ParseDebugOpt(const char* arg) { } static void PrintHelp() { - printf("Usage: node [options] [ -e script | script.js ] [arguments] \n" - " node debug script.js [arguments] \n" + printf("Usage: iojs [options] [ -e script | script.js ] [arguments] \n" + " iojs debug script.js [arguments] \n" "\n" "Options:\n" " -v, --version print node's version\n"