[ruby-core:84369] [Ruby trunk Bug#10838] ri's man page and options are wrong

From: nagachika00@...
Date: 2017-12-20 14:59:02 UTC
List: ruby-core #84369
Issue #10838 has been updated by nagachika (Tomoyuki Chikanaga).

Backport changed from 2.2: WONTFIX, 2.3: REQUIRED, 2.4: REQUIRED to 2.2: WONTFIX, 2.3: REQUIRED, 2.4: DONE

ruby_2_4 r61366 merged revision(s) 58409.

----------------------------------------
Bug #10838: ri's man page and options are wrong
https://bugs.ruby-lang.org/issues/10838#change-68558

* Author: josh.cheek (Josh Cheek)
* Status: Closed
* Priority: Normal
* Assignee: stomar (Marcus Stollsteimer)
* Target version: 
* ruby -v: ruby 2.2.0p0
* Backport: 2.2: WONTFIX, 2.3: REQUIRED, 2.4: DONE
----------------------------------------
## Man page

`man ri` is missing these options:

    --[no-]interactive
    --[no-]list-doc-dirs
    -a, --[no-]all
    -l, --[no-]list
        --server [PORT]
    -v
    --help

It lists two options that don't exist

    --fmt
    --[no-]use-cache

It lists the formats incorrectly as

    ansi, bs, html, plain, simple

They should be:

    ansi bs markdown rdoc

## Help screen

`ri --help` is missing these options:

    --help
    --version
    -v
    -h

Invalid options print the help screen and an error message.
But `-h` prints neither. Instead it enters interactive mode.
Whatever it's doing, it's not documented anywhere.



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next