summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorTom Stuart <hi@tomstu.art>2023-07-01 15:38:26 +0100
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-07-16 00:39:01 +0900
commitc32b608e76c6da9396a133deae4b9196af6d5563 (patch)
treebe054bd34165aedea38dc131a4520fcb5d802060 /man
parentde68e240c7a1ded3049ee23d8bf2db5a15f4f39b (diff)
Add `--backtrace-limit` option to the man page
Diffstat (limited to 'man')
-rw-r--r--man/ruby.15
1 files changed, 5 insertions, 0 deletions
diff --git a/man/ruby.1 b/man/ruby.1
index f4150ae77a..cbd14e0ecc 100644
--- a/man/ruby.1
+++ b/man/ruby.1
@@ -271,6 +271,11 @@ In auto-split mode, Ruby executes
.Dl $F = $_.split
at beginning of each loop.
.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
Causes Ruby to check the syntax of the script and exit without
executing. If there are no syntax errors, Ruby will print