2013-06-02 01:11:16 -04:00
|
|
|
# -*- coding: utf-8 -*-
|
2001-04-30 13:38:21 -04:00
|
|
|
#
|
2011-05-18 10:09:38 -04:00
|
|
|
# irb/lc/help-message.rb -
|
2009-07-07 07:36:20 -04:00
|
|
|
# $Release Version: 0.9.6$
|
2001-04-30 13:38:21 -04:00
|
|
|
# $Revision$
|
2005-04-13 11:27:09 -04:00
|
|
|
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
2001-04-30 13:38:21 -04:00
|
|
|
#
|
|
|
|
# --
|
|
|
|
#
|
2011-05-18 10:09:38 -04:00
|
|
|
#
|
2001-04-30 13:38:21 -04:00
|
|
|
#
|
|
|
|
Usage: irb.rb [options] [programfile] [arguments]
|
2011-05-18 10:09:38 -04:00
|
|
|
-f Suppress read of ~/.irbrc
|
2003-02-07 14:00:21 -05:00
|
|
|
-d Set $DEBUG to true (same as `ruby -d')
|
|
|
|
-r load-module Same as `ruby -r'
|
2004-02-20 05:03:47 -05:00
|
|
|
-I path Specify $LOAD_PATH directory
|
2008-12-18 08:09:26 -05:00
|
|
|
-U Same as `ruby -U`
|
|
|
|
-E enc Same as `ruby -E`
|
2010-04-09 10:55:18 -04:00
|
|
|
-w Same as `ruby -w`
|
|
|
|
-W[level=2] Same as `ruby -W`
|
2013-06-02 01:11:16 -04:00
|
|
|
--context-mode n Set n[0-3] to method to create Binding Object,
|
|
|
|
when new workspace was created
|
|
|
|
--echo Show result(default)
|
|
|
|
--noecho Don't show result
|
2003-02-07 14:00:21 -05:00
|
|
|
--inspect Use `inspect' for output (default except for bc mode)
|
|
|
|
--noinspect Don't use inspect for output
|
2013-06-02 01:11:16 -04:00
|
|
|
--readline Use Readline extension module
|
2003-02-07 14:00:21 -05:00
|
|
|
--noreadline Don't use Readline extension module
|
2013-06-02 01:11:16 -04:00
|
|
|
--prompt prompt-mode/--prompt-mode prompt-mode
|
2003-02-07 14:00:21 -05:00
|
|
|
Switch prompt mode. Pre-defined prompt modes are
|
2001-06-01 11:26:47 -04:00
|
|
|
`default', `simple', `xmp' and `inf-ruby'
|
2011-05-18 10:09:38 -04:00
|
|
|
--inf-ruby-mode Use prompt appropriate for inf-ruby-mode on emacs.
|
|
|
|
Suppresses --readline.
|
2013-06-02 01:11:16 -04:00
|
|
|
--sample-book-mode/--simple-prompt
|
|
|
|
Simple prompt mode
|
|
|
|
--noprompt No prompt mode
|
|
|
|
--single-irb Share self with sub-irb.
|
|
|
|
--tracer Display trace for each execution of commands.
|
2001-04-30 13:38:21 -04:00
|
|
|
--back-trace-limit n
|
2003-02-07 14:00:21 -05:00
|
|
|
Display backtrace top n and tail n. The default
|
2011-05-18 10:09:38 -04:00
|
|
|
value is 16.
|
2003-02-07 14:00:21 -05:00
|
|
|
--irb_debug n Set internal debug level to n (not for popular use)
|
2013-06-02 01:11:16 -04:00
|
|
|
--verbose Show details
|
|
|
|
--noverbose Don't show details
|
2003-02-07 14:00:21 -05:00
|
|
|
-v, --version Print the version of irb
|
2013-06-02 01:11:16 -04:00
|
|
|
-h, --help Print help
|
|
|
|
-- Separate options of irb from the list of command-line args
|
|
|
|
|
|
|
|
# vim:fileencoding=utf-8
|