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]
|
2021-02-26 16:27:25 -05: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`
|
2021-02-26 16:27:25 -05:00
|
|
|
--context-mode n Set n[0-4] to method to create Binding Object,
|
2013-06-02 01:11:16 -04:00
|
|
|
when new workspace was created
|
|
|
|
--echo Show result(default)
|
|
|
|
--noecho Don't show result
|
2019-10-29 20:32:16 -04:00
|
|
|
--inspect Use `inspect' for output
|
|
|
|
--noinspect Don't use inspect for output
|
|
|
|
--multiline Use multiline editor module
|
|
|
|
--nomultiline Don't use multiline editor module
|
|
|
|
--singleline Use singleline editor module
|
|
|
|
--nosingleline Don't use singleline editor module
|
2019-05-15 03:36:33 -04:00
|
|
|
--colorize Use colorization
|
|
|
|
--nocolorize Don't use colorization
|
2013-06-02 01:11:16 -04:00
|
|
|
--prompt prompt-mode/--prompt-mode prompt-mode
|
2021-02-26 16:27:25 -05:00
|
|
|
Switch prompt mode. Pre-defined prompt modes are
|
|
|
|
`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.
|
2019-10-29 20:32:16 -04:00
|
|
|
Suppresses --multiline and --singleline.
|
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
|
2021-02-26 16:27:25 -05:00
|
|
|
Display backtrace top n and tail n. The default
|
|
|
|
value is 16.
|
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
|