summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/irb/lc/help-message1
-rw-r--r--man/irb.14
2 files changed, 5 insertions, 0 deletions
diff --git a/lib/irb/lc/help-message b/lib/irb/lc/help-message
index cee860fdeb..939dc38975 100644
--- a/lib/irb/lc/help-message
+++ b/lib/irb/lc/help-message
@@ -20,6 +20,7 @@ Usage: irb.rb [options] [programfile] [arguments]
-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
+ --extra-doc-dir Add an extra doc dir for the doc dialog
--echo Show result (default)
--noecho Don't show result
--echo-on-assignment
diff --git a/man/irb.1 b/man/irb.1
index a8a9b60a53..50db899177 100644
--- a/man/irb.1
+++ b/man/irb.1
@@ -105,6 +105,10 @@ 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).
.Pp