From c32b608e76c6da9396a133deae4b9196af6d5563 Mon Sep 17 00:00:00 2001 From: Tom Stuart Date: Sat, 1 Jul 2023 15:38:26 +0100 Subject: Add `--backtrace-limit` option to the man page --- man/ruby.1 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'man') 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 -- cgit v1.2.3