Bug#792243: rhino: man page out of sync with command's help

Carl Suster carl at contraflo.ws
Mon Jul 13 05:08:00 UTC 2015


Package: rhino
Version: 1.7R4-3
Severity: minor

Dear Maintainer,

The rhino executable provides the help documentation below, however some of the
options are not documented in the man page (-help -modules -require -sandbox
-debug -fatal-warnings -encoding -w).

Cheers,
Carl


$ rhino -help
Usage: java org.mozilla.javascript.tools.shell.Main [options...] [files]
Valid options are:
    -?, -help          Displays help messages.
    -w                 Enable warnings.
    -version 100|110|120|130|140|150|160|170|180
                       Set a specific language version.
    -opt [-1|0-9]      Set optimization level.
    -f script-filename Execute script file, or "-" for interactive.
    -e script-source   Evaluate inline script.
    -modules [uri]     Add a single path or URL element to the CommonJS
                       module search path. (implies -require)
    -require           Enable CommonJS module support.
    -sandbox           Enable CommonJS sandbox mode. (implies -require)
    -debug             Generate debug code.
    -strict            Enable strict mode warnings.
    -fatal-warnings    Treat warnings as errors.
    -encoding charset  Use specified character encoding as default when reading scripts.


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages rhino depends on:
ii  default-jre-headless [java5-runtime-headless]    2:1.7-52
ii  libjline-java                                    1.0-2
ii  librhino-java                                    1.7R4-3
ii  openjdk-7-jre-headless [java5-runtime-headless]  7u79-2.5.5-1

rhino recommends no packages.

Versions of packages rhino suggests:
pn  librhino-java-doc  <none>

-- no debconf information



More information about the pkg-java-maintainers mailing list