[DOC] Update --dump
option arguments in the ruby man page
Related to [Feature #20329].
This commit is contained in:
parent
58bde0169d
commit
d10615c064
12
man/ruby.1
12
man/ruby.1
@ -448,18 +448,20 @@ Check syntax (same as
|
|||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
Or one of the following, which are intended for debugging the interpreter:
|
Or one of the following, which are intended for debugging the interpreter:
|
||||||
.Bl -hang -offset indent -tag -width "parsetree_with_comment"
|
.Bl -hang -offset indent -tag -width "+error-tolerant"
|
||||||
.It Sy yydebug
|
.It Sy yydebug
|
||||||
Enable compiler debug mode (same as
|
Enable compiler debug mode (same as
|
||||||
.Fl -yydebug).
|
.Fl -yydebug).
|
||||||
.It Sy parsetree
|
.It Sy parsetree
|
||||||
Print a textual representation of the Ruby AST for the program.
|
Print a textual representation of the Ruby AST for the program.
|
||||||
.It Sy parsetree_with_comment
|
|
||||||
Print a textual representation of the Ruby AST for the program, but with each node annotated with the associated Ruby source code.
|
|
||||||
.It Sy insns
|
.It Sy insns
|
||||||
Print a list of disassembled bytecode instructions.
|
Print a list of disassembled bytecode instructions.
|
||||||
.It Sy insns_without_opt
|
.It Sy -optimize
|
||||||
Print the list of disassembled bytecode instructions before various optimizations have been applied.
|
Disable various optimizations to print a list disassembled bytecode instructions.
|
||||||
|
.It Sy +error-tolerant
|
||||||
|
Enable error-tolerant parsing, when yydebug or parsetree.
|
||||||
|
.It Sy +comment
|
||||||
|
Annotate a textual representation of the Ruby AST for the program with the associated Ruby source code.
|
||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
.It Fl -verbose
|
.It Fl -verbose
|
||||||
|
Loading…
x
Reference in New Issue
Block a user