rhino -V (return code: 1)
Invalid option "--version"
Usage: rhino [options...] [files]
Valid options are:
-?, -help Displays help messages.
-w Enable warnings.
-version 100|110|120|130|140|150|160|170|180|200
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.
rhino --help (return code: 1)
Invalid option "--help"
Usage: rhino [options...] [files]
Valid options are:
-?, -help Displays help messages.
-w Enable warnings.
-version 100|110|120|130|140|150|160|170|180|200
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.