Skip to content

Commit

Permalink
lib: reword help text for clarity
Browse files Browse the repository at this point in the history
modified the `-` CLI option help text for
improved readability.

PR-URL: #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>
  • Loading branch information
gireeshpunathil authored and targos committed Oct 3, 2018
1 parent a51d839 commit c40e2dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/internal/print_help.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit c40e2dd

Please sign in to comment.