Issue #10838 has been reported by Josh Cheek.

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

* Author: Josh Cheek
* Status: Open
* Priority: Normal
* Assignee: 
* ruby -v: ruby 2.2.0p0
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
## 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/