diff options
| author | Gireesh Punathil <gpunathi@in.ibm.com> | 2018-09-22 04:35:32 -0400 |
|---|---|---|
| committer | Gireesh Punathil <gpunathi@in.ibm.com> | 2018-09-28 04:15:06 -0400 |
| commit | 0f78b9a26c60f158059d1c619178828cc3da0f7f (patch) | |
| tree | 8559aa3181fae0f676ad98bc11f2ab09e8eb9682 | |
| parent | 8316c6f0476ed288670db47e0e39b9df8df2dcf9 (diff) | |
| download | node-new-v10x.tar.gz | |
lib: reword help text for clarityv10x
modified the `-` CLI option help text for
improved readability.
PR-URL: https://github.com/nodejs/node/pull/23016
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
| -rw-r--r-- | lib/internal/print_help.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/internal/print_help.js b/lib/internal/print_help.js index 221af2547b..065d6524b7 100644 --- a/lib/internal/print_help.js +++ b/lib/internal/print_help.js @@ -140,7 +140,8 @@ function print(stream) { const firstColumn = Math.floor(width * 0.4); const secondColumn = Math.floor(width * 0.57); - options.set('-', { helpText: 'script read from stdin (default; ' + + options.set('-', { helpText: 'script read from stdin ' + + '(default if no file name is provided, ' + 'interactive mode if a tty)' }); options.set('--', { helpText: 'indicate the end of node options' }); stream.write( |
