summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2021-10-11 20:40:44 +0900
committergit <svn-admin@ruby-lang.org>2021-10-11 21:12:58 +0900
commit77320527180018a3083a287afee99ac6549b0d0d (patch)
treeaa2061afeb11120648fa8c32645e95c8fa77d39c
parent866a09dd9ea2775a3231c0e9833f3bca48947f30 (diff)
downloadruby-77320527180018a3083a287afee99ac6549b0d0d.tar.gz
[ruby/irb] Add help about extra doc dir option
https://github.com/ruby/irb/commit/5018f2cb99
-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