diff --git a/lib/irb/lc/help-message b/lib/irb/lc/help-message index cee860fdeb6637..939dc389759015 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 a8a9b60a534df9..50db8991778df2 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