diff options
author | Jeremy Evans <code@jeremyevans.net> | 2021-02-26 13:27:25 -0800 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2021-02-27 06:51:12 +0900 |
commit | dbea0be13dc1f44833eca43a73f3ab898fa27c15 (patch) | |
tree | e14524541db42c1283186e90f00b3b3441c53352 /lib/irb.rb | |
parent | d45466dc5b9b45d5b78d161fc86265e6e19d6e1e (diff) | |
download | ruby-dbea0be13dc1f44833eca43a73f3ab898fa27c15.tar.gz |
[ruby/irb] Update help message for next context-mode of 4
While here, fixing tab/space issues in help message, and sync
rdoc for IRB class to match the help message.
https://github.com/ruby/irb/commit/ef8e3901cc
Diffstat (limited to 'lib/irb.rb')
-rw-r--r-- | lib/irb.rb | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/lib/irb.rb b/lib/irb.rb index 7f99974f28..5a2aed0353 100644 --- a/lib/irb.rb +++ b/lib/irb.rb @@ -60,7 +60,11 @@ require_relative "irb/easter-egg" # -E enc Same as `ruby -E` # -w Same as `ruby -w` # -W[level=2] Same as `ruby -W` -# --inspect Use `inspect' for output (default except for bc mode) +# --context-mode n Set n[0-4] to method to create Binding Object, +# when new workspace was created +# --echo Show result(default) +# --noecho Don't show result +# --inspect Use `inspect' for output # --noinspect Don't use inspect for output # --multiline Use multiline editor module # --nomultiline Don't use multiline editor module @@ -68,19 +72,24 @@ require_relative "irb/easter-egg" # --nosingleline Don't use singleline editor module # --colorize Use colorization # --nocolorize Don't use colorization -# --prompt prompt-mode -# --prompt-mode prompt-mode +# --prompt prompt-mode/--prompt-mode prompt-mode # Switch prompt mode. Pre-defined prompt modes are # `default', `simple', `xmp' and `inf-ruby' # --inf-ruby-mode Use prompt appropriate for inf-ruby-mode on emacs. # Suppresses --multiline and --singleline. -# --simple-prompt Simple prompt mode +# --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. # --back-trace-limit n # Display backtrace top n and tail n. The default # value is 16. -# -v, --version Print the version of irb +# --verbose Show details +# --noverbose Don't show details +# -v, --version Print the version of irb +# -h, --help Print help +# -- Separate options of irb from the list of command-line args # # == Configuration # |