Skip to content

Commit c0f2086

Browse files
committed
Relates to #889, reflect java -opt arg in readme
1 parent 948a0c8 commit c0f2086

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,12 @@ command:
102102

103103
### OS X/Linux/Unix:
104104

105-
java -classpath path/to/rhino/js.jar:path/to/closure/compiler.jar org.mozilla.javascript.tools.shell.Main r.js main.js
105+
java -classpath path/to/rhino/js.jar:path/to/closure/compiler.jar org.mozilla.javascript.tools.shell.Main -opt -1 r.js main.js
106106

107107
### Windows
108108

109-
java -classpath path/to/rhino/js.jar;path/to/closure/compiler.jar org.mozilla.javascript.tools.shell.Main r.js main.js
110-
109+
java -classpath path/to/rhino/js.jar;path/to/closure/compiler.jar org.mozilla.javascript.tools.shell.Main -opt -1 r.js main.js
110+
s
111111
If you want to run it in the debugger, replace
112112
org.mozilla.javascript.tools.shell.Main with
113113
**org.mozilla.javascript.tools.debugger.Main**.

0 commit comments

Comments
 (0)