diff options
author | Rich Trott <rtrott@gmail.com> | 2020-09-14 17:28:27 -0700 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2020-09-17 02:01:07 -0700 |
commit | c205f672e9cf0c70ea26f87eb97342947a244e18 (patch) | |
tree | 876d9901087811e63f1da5b41b22a456e62f87b9 /doc/node.1 | |
parent | 18462e0c1d5f3b3a3e86b7b40fb65975f1e27381 (diff) | |
download | node-new-c205f672e9cf0c70ea26f87eb97342947a244e18.tar.gz |
doc: use command-line/command line consistently
Docs switch between "command line" and "command-line" with no apparent
uniformity. Microsoft Style Guide prescribes "command line" as a noun
and "command-line" as a modifier, which makes a lot of sense to me.
Updating docs as appropriate.
PR-URL: https://github.com/nodejs/node/pull/35198
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'doc/node.1')
-rw-r--r-- | doc/node.1 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/node.1 b/doc/node.1 index 45c82c2009..f52014dbdc 100644 --- a/doc/node.1 +++ b/doc/node.1 @@ -95,7 +95,7 @@ The directory where the CPU profiles generated by will be placed. The default value is controlled by the .Fl -diagnostic-dir . -command line option. +command-line option. . .It Fl -cpu-prof-interval The sampling interval in microseconds for the CPU profiles generated by @@ -198,7 +198,7 @@ The directory where the heap profiles generated by will be placed. The default value is controlled by the .Fl -diagnostic-dir . -command line option. +command-line option. . .It Fl -heap-prof-interval The average sampling interval in bytes for the heap profiles generated by @@ -319,7 +319,7 @@ will be generated. The `file` name may be an absolute path. If it is not, the default directory it will be written to is controlled by the .Fl -diagnostic-dir . -command line option. +command-line option. . .It Fl -report-filename Name of the file to which the @@ -554,7 +554,7 @@ process warnings are silenced. .It Ev NODE_OPTIONS Ar options... A space-separated list of command-line .Ar options , -which are interpreted as if they had been specified on the command-line before the actual command (so they can be overridden). +which are interpreted as if they had been specified on the command line before the actual command (so they can be overridden). Node.js will exit with an error if an option that is not allowed in the environment is used, such as .Fl -print or a script file. @@ -580,7 +580,7 @@ Write process warnings to the given instead of printing to stderr. Equivalent to passing .Fl -redirect-warnings Ar file -on command-line. +on the command line. .It Ev NODE_REPL_HISTORY Ar file Path to the .Ar file |