[#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:97690] [Ruby master Feature#16754] Pager for `--help`
From:
shevegen@...
Date:
2020-04-03 14:27:14 UTC
List:
ruby-core #97690
Issue #16754 has been updated by shevegen (Robert A. Heiler).
Oh... I just noticed in the code, I think that is the environment variable?
My C knowledge is so bad, but I guess getenv() indicates that. :D
const char *pager_env = getenv("RUBY_PAGER");
----------------------------------------
Feature #16754: Pager for `--help`
https://bugs.ruby-lang.org/issues/16754#change-84899
* 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>