[#97678] [Ruby master Feature#16752] :private param for const_set — bughitgithub@...
Issue #16752 has been reported by bughit (bug hit).
5 messages
2020/04/02
[ruby-core:97706] [Ruby master Feature#16754] Pager for `--help`
From:
nobu@...
Date:
2020-04-04 02:37:00 UTC
List:
ruby-core #97706
Issue #16754 has been updated by nobu (Nobuyoshi Nakada). Yes, this uses `RUBY_PAGER` if it is defined, or `PAGER` if defined. The pager is used if stdin and stdout are tty both, redirecting stdin stops it. ``` ruby --help <&- ``` ``` ruby --help </dev/null ``` And now empty `PAGER` value is ignored. ``` RUBY_PAGER= ruby --help ``` ---------------------------------------- Feature #16754: Pager for `--help` https://bugs.ruby-lang.org/issues/16754#change-84910 * Author: nobu (Nobuyoshi Nakada) * Status: Open * Priority: Normal ---------------------------------------- The help message by `--help` is getting longer and longer, and it often exceeds usual terminal windows. How about to show the message via pager when running on a tty? And although the message is sectioned, they are less remarkable in the long text, and should be highlighted more, like as the attached screenshot for example. https://github.com/ruby/ruby/pull/3000 ---Files-------------------------------- screenshot-help.gif (38 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>