Usage text says ObjectSpace is both enabled and disabled by default
-------------------------------------------------------------------
Key: JRUBY-1740
URL: http://jira.codehaus.org/browse/JRUBY-1740
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.1
Reporter: Ryan Fowler
Attachments: objspc_usage_patch.diff
Both "run with ObjectSpace disabled" and "run with ObjectSpace enabled" are
marked as default in the usage. It appears that ObjectSpace is disabled by
default, so the patch just removes the "default; " text from the +O option.
[EMAIL PROTECTED]:~/jruby$ java -jar lib/jruby.jar --help
Usage: jruby [switches] [--] [rubyfile.rb] [arguments]
-e 'command' one line of script. Several -e's allowed. Omit [programfile]
-b benchmark mode, times the script execution
-Jjava option pass an option on to the JVM (e.g. -J-Xmx512m)
-Idirectory specify $LOAD_PATH directory (may be used more than once)
-- optional -- before rubyfile.rb for compatibility with ruby
-d set debugging flags (set $DEBUG to true)
-v print version number, then turn on verbose mode
-O run with ObjectSpace disabled (default; improves
performance)
+O run with ObjectSpace enabled (default; reduces performance)
-S cmd run the specified command in JRuby's bin dir
-C disable all compilation
+C force compilation of all scripts before they are run
(except eval)
-y read a YARV-compiled Ruby script and run that (EXPERIMENTAL)
-Y compile a Ruby script into YARV bytecodes and run this
(EXPERIMENTAL)
-R read a Rubinius-compiled Ruby script and run that
(EXPERIMENTAL)
--properties List all configuration properties (specify with
-J-Dproperty=value)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email