From: shevegen@... Date: 2020-04-03T14:27:14+00:00 Subject: [ruby-core:97690] [Ruby master Feature#16754] Pager for `--help` 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: