Skip to content

Commit c40e2dd

Browse files
gireeshpunathiltargos
authored andcommitted
lib: reword help text for clarity
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]>
1 parent a51d839 commit c40e2dd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎lib/internal/print_help.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,8 @@ function print(stream){
140140
constfirstColumn=Math.floor(width*0.4);
141141
constsecondColumn=Math.floor(width*0.57);
142142

143-
options.set('-',{helpText: 'script read from stdin (default; '+
143+
options.set('-',{helpText: 'script read from stdin '+
144+
'(default if no file name is provided, '+
144145
'interactive mode if a tty)'});
145146
options.set('--',{helpText: 'indicate the end of node options'});
146147
stream.write(

0 commit comments

Comments
(0)