summaryrefslogtreecommitdiff
path: root/NEWS.md
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-02-04 09:47:58 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-04-12 14:58:13 +0900
commitf22c4ff359498ab342e4b6d6feb21af6004ee270 (patch)
treec14ed2082420113ed02a8c0108575729818d2341 /NEWS.md
parent5c2768181382bf84137759efea66f3aaf212665d (diff)
View the help message with PAGER [Feature #16754]
View the help message wth pager designed by RUBY_PAGER or PAGER environment variable, unless that value is empty.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3000
Diffstat (limited to 'NEWS.md')
-rw-r--r--NEWS.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/NEWS.md b/NEWS.md
index 15c7125deb..890306ca86 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -54,6 +54,13 @@ sufficient information, see the ChangeLog file or Redmine
## Command line options
+### `--help` option
+
+When the environment variable `RUBY_PAGER` or `PAGER` is present and has
+non-empty value, and the standard input and output are tty, `--help`
+option shows the help message via the pager designated by the value.
+[[Feature #16754]]
+
## Core classes updates
Outstanding ones only.
@@ -192,4 +199,5 @@ Excluding feature bug fixes.
[Feature #15921]: https://bugs.ruby-lang.org/issues/15921
[Feature #16555]: https://bugs.ruby-lang.org/issues/16555
[Feature #16746]: https://bugs.ruby-lang.org/issues/16746
+[Feature #16754]: https://bugs.ruby-lang.org/issues/16754
[GH-2991]: https://github.com/ruby/ruby/pull/2991