This commit is contained in:
Sho Ito 2019-08-12 00:11:34 +09:00 коммит произвёл Takashi Kokubun
Родитель 0d0ff8277f
Коммит 765cc17c08
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 6FFC433B12EE23DD
1 изменённых файлов: 36 добавлений и 8 удалений

Просмотреть файл

@ -1,5 +1,5 @@
.\"Ruby is copyrighted by Yukihiro Matsumoto <matz@netlab.jp>. .\"Ruby is copyrighted by Yukihiro Matsumoto <matz@netlab.jp>.
.Dd April 20, 2017 .Dd August 11, 2019
.Dt IRB \&1 "Ruby Programmer's Reference Guide" .Dt IRB \&1 "Ruby Programmer's Reference Guide"
.Os UNIX .Os UNIX
.Sh NAME .Sh NAME
@ -8,11 +8,16 @@
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm .Nm
.Op Fl -version .Op Fl -version
.Op Fl dfm .Op Fl dfUw
.Op Fl I Ar directory .Op Fl I Ar directory
.Op Fl r Ar library .Op Fl r Ar library
.Op Fl E Ar external Ns Op : Ns Ar internal
.Op Fl W Ns Op Ar level
.Op Fl - Ns Oo no Oc Ns inspect .Op Fl - Ns Oo no Oc Ns inspect
.Op Fl - Ns Oo no Oc Ns readline .Op Fl - Ns Oo no Oc Ns readline
.Op Fl - Ns Oo no Oc Ns echo
.Op Fl - Ns Oo no Oc Ns colorize
.Op Fl - Ns Oo no Oc Ns verbose
.Op Fl -prompt Ar mode .Op Fl -prompt Ar mode
.Op Fl -prompt-mode Ar mode .Op Fl -prompt-mode Ar mode
.Op Fl -inf-ruby-mode .Op Fl -inf-ruby-mode
@ -20,7 +25,6 @@
.Op Fl -noprompt .Op Fl -noprompt
.Op Fl -tracer .Op Fl -tracer
.Op Fl -back-trace-limit Ar n .Op Fl -back-trace-limit Ar n
.Op Fl -irb_debug Ar n
.Op Fl - .Op Fl -
.Op program_file .Op program_file
.Op argument ... .Op argument ...
@ -65,6 +69,13 @@ to true.
Suppresses read of Suppresses read of
.Pa ~/.irbrc . .Pa ~/.irbrc .
.Pp .Pp
.It Fl w
Same as `ruby -w' .
.Pp
.Pp
.It Fl W
Same as `ruby -W' .
.Pp
.It Fl h .It Fl h
.It Fl -help .It Fl -help
Prints a summary of the options. Prints a summary of the options.
@ -85,6 +96,27 @@ Uses Readline extension module.
.It Fl -noreadline .It Fl -noreadline
Doesn't use Readline extension module. Doesn't use Readline extension module.
.Pp .Pp
.Pp
.It Fl -echo
Show result(default).
.Pp
.It Fl -noecho
Don't show result.
.Pp
.Pp
.It Fl -colorize
Use colorization.
.Pp
.It Fl -nocolorize
Don't use colorization.
.Pp
.Pp
.It Fl -verbose
Show details.
.Pp
.It Fl -noverbose
Don't show details.
.Pp
.It Fl -prompt Ar mode .It Fl -prompt Ar mode
.It Fl -prompt-mode Ar mode .It Fl -prompt-mode Ar mode
Switch prompt mode. Pre-defined prompt modes are Switch prompt mode. Pre-defined prompt modes are
@ -109,10 +141,6 @@ Displays backtrace top
and tail and tail
.Ar n Ns . .Ar n Ns .
The default value is 16. The default value is 16.
.Pp
.It Fl -irb_debug Ar n
Sets internal debug level to n (not for popular use)
.Pp
.El .El
.Pp .Pp
.Sh ENVIRONMENT .Sh ENVIRONMENT