mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Add --backtrace-limit
option to the man page
This commit is contained in:
parent
de68e240c7
commit
c32b608e76
1 changed files with 5 additions and 0 deletions
|
@ -271,6 +271,11 @@ In auto-split mode, Ruby executes
|
||||||
.Dl $F = $_.split
|
.Dl $F = $_.split
|
||||||
at beginning of each loop.
|
at beginning of each loop.
|
||||||
.Pp
|
.Pp
|
||||||
|
.It Fl -backtrace-limit Ns = Ns Ar num
|
||||||
|
Limits the maximum length of backtraces to
|
||||||
|
.Ar num
|
||||||
|
lines (default -1, meaning no limit).
|
||||||
|
.Pp
|
||||||
.It Fl c
|
.It Fl c
|
||||||
Causes Ruby to check the syntax of the script and exit without
|
Causes Ruby to check the syntax of the script and exit without
|
||||||
executing. If there are no syntax errors, Ruby will print
|
executing. If there are no syntax errors, Ruby will print
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue