Doc: http://docs.oracle.com/javase/8/docs/technotes/guides/scripting/nashorn/shell.html
Section: 4.4 Global Objects
This section misses $OPTIONS object.
$OPTIONS
This object exposes command line options passed to nashorn "command line".
jjs> print("-scripting = " + $OPTIONS._scripting);
jjs> print("--compile-only = " + $OPTIONS._compile_only);
jjs> print("-timezone = " + $OPTIONS._timezone.ID);
Section: 4.4 Global Objects
This section misses $OPTIONS object.
$OPTIONS
This object exposes command line options passed to nashorn "command line".
jjs> print("-scripting = " + $OPTIONS._scripting);
jjs> print("--compile-only = " + $OPTIONS._compile_only);
jjs> print("-timezone = " + $OPTIONS._timezone.ID);