-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsyntax_test_irb.txt
45 lines (44 loc) · 2.13 KB
/
syntax_test_irb.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# SYNTAX TEST "cmd-help.sublime-syntax"
Usage: irb.rb [options] [programfile] [arguments]
-f Suppress read of ~/.irbrc
-d Set $DEBUG to true (same as `ruby -d')
-r load-module Same as `ruby -r'
# ^^^^^^^^^^^ entity.name.function.option.cmd-help keyword.other.argument.cmd-help
-I path Specify $LOAD_PATH directory
-U Same as `ruby -U`
-E enc Same as `ruby -E`
-w Same as `ruby -w`
-W[level=2] Same as `ruby -W`
--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
--singleline Use singleline editor module
--nosingleline Don't use singleline editor module
--colorize Use colorization
--nocolorize Don't use colorization
--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.
--sample-book-mode/--simple-prompt
# ^^^^^^^^^^^^^^^^^^ entity.name.function.option.cmd-help
# ^ - entity.name.function.option.cmd-help
# ^^^^^^^^^^^^^^^ entity.name.function.option.cmd-help
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.
--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