doc: edit man page for superfluous "node" usage

Rather than ponder "node" vs. "Node.js", remove the descriptor so it's
just "command-line options" rather than "node command-line options" or
"Node.js command-line options".

PR-URL: https://github.com/nodejs/node/pull/24029
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
Rich Trott 2018-11-01 20:41:10 -07:00
parent 9c7d19104d
commit f581aced91

View File

@ -66,7 +66,7 @@ Alias for stdin, analogous to the use of - in other command-line utilities.
The executed script is read from stdin, and remaining arguments are passed to the script. The executed script is read from stdin, and remaining arguments are passed to the script.
. .
.It Fl - .It Fl -
Indicate the end of node options. Indicate the end of command-line options.
Pass the rest of the arguments to the script. Pass the rest of the arguments to the script.
.Pp .Pp
If no script filename or eval/print script is supplied prior to this, then If no script filename or eval/print script is supplied prior to this, then
@ -246,7 +246,7 @@ Evaluate
as JavaScript. as JavaScript.
. .
.It Fl h , Fl -help .It Fl h , Fl -help
Print Node.js command line options. Print command-line options.
The output of this option is less detailed than this document. The output of this option is less detailed than this document.
. .
.It Fl i , Fl -interactive .It Fl i , Fl -interactive