From 60924b70f34f3f211a2336b75e6e046451b147d4 Mon Sep 17 00:00:00 2001 From: Gireesh Punathil Date: Sat, 22 Sep 2018 04:35:32 -0400 Subject: [PATCH] lib: reword help text for clarity modified the `-` CLI option help text for improved readability. PR-URL: https://github.com/nodejs/node/pull/23016 Reviewed-By: James M Snell Reviewed-By: Sakthipriyan Vairamani Reviewed-By: Anna Henningsen Reviewed-By: Luigi Pinca Reviewed-By: Ruben Bridgewater --- lib/internal/print_help.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/internal/print_help.js b/lib/internal/print_help.js index 221af2547b239d..065d6524b764cb 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(