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 <[email protected]>
Reviewed-By: Sakthipriyan Vairamani <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
  • 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.