summaryrefslogtreecommitdiff
path: root/man/irb.1
diff options
context:
space:
mode:
Diffstat (limited to 'man/irb.1')
-rw-r--r--man/irb.156
1 files changed, 53 insertions, 3 deletions
diff --git a/man/irb.1 b/man/irb.1
index f0a720fbd3..93ef9b8f66 100644
--- a/man/irb.1
+++ b/man/irb.1
@@ -18,6 +18,7 @@
.Op Fl - Ns Oo no Oc Ns singleline
.Op Fl - Ns Oo no Oc Ns echo
.Op Fl - Ns Oo no Oc Ns colorize
+.Op Fl - Ns Oo no Oc Ns autocomplete
.Op Fl - Ns Oo no Oc Ns verbose
.Op Fl -prompt Ar mode
.Op Fl -prompt-mode Ar mode
@@ -104,13 +105,27 @@ Uses singleline editor module.
Doesn't use singleline editor module.
.Pp
.Pp
+.It Fl -extra-doc-dir
+Add an extra doc dir for the doc dialog.
+.Pp
+.Pp
.It Fl -echo
-Show result(default).
+Show result (default).
.Pp
.It Fl -noecho
Don't show result.
.Pp
.Pp
+.It Fl -echo-on-assignment
+Show result on assignment.
+.Pp
+.It Fl -noecho-on-assignment
+Don't show result on assignment.
+.Pp
+.It Fl -truncate-echo-on-assignment
+Show truncated result on assignment (default).
+.Pp
+.Pp
.It Fl -colorize
Use colorization.
.Pp
@@ -118,6 +133,20 @@ Use colorization.
Don't use colorization.
.Pp
.Pp
+.It Fl -autocomplete
+Use autocompletion.
+.Pp
+.It Fl -noautocomplete
+Don't use autocompletion.
+.Pp
+.Pp
+.It Fl -regexp-completor
+Use regexp based completion.
+.Pp
+.It Fl -type-completor
+Use type based completion.
+.Pp
+.Pp
.It Fl -verbose
Show details.
.Pp
@@ -151,8 +180,19 @@ The default value is 16.
.El
.Pp
.Sh ENVIRONMENT
-.Bl -tag -compact
+.Bl -tag -compact -width "XDG_CONFIG_HOME"
+.It Ev IRB_LANG
+The locale used for
+.Nm .
+.Pp
.It Ev IRBRC
+The path to the personal initialization file.
+.Pp
+.It Ev XDG_CONFIG_HOME
+.Nm
+respects XDG_CONFIG_HOME. If this is set, load
+.Pa $XDG_CONFIG_HOME/irb/irbrc
+as a personal initialization file.
.Pp
.El
.Pp
@@ -164,7 +204,17 @@ depends on same variables as
.Sh FILES
.Bl -tag -compact
.It Pa ~/.irbrc
-Personal irb initialization.
+Personal irb initialization. If
+.Ev IRBRC
+is set, read
+.Pa $IRBRC
+instead. If
+.Ev IRBRC
+is not set and
+.Ev XDG_CONFIG_HOME
+is set,
+.Pa $XDG_CONFIG_HOME/irb/irbrc
+is loaded.
.Pp
.El
.Pp