Project

General

Profile

ActionsLike1

Feature #19752

closed

Allow `--backtrace-limit` to appear in RUBYOPT

Added by tomstuart (Tom Stuart) almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Target version:
-
[ruby-core:114064]

Description

The --backtrace-limit option was added in #8661 but it is not currently supported in the RUBYOPT environment variable, which appears to be a mistake. Unlike other long options which are not allowed in RUBYOPT (e.g. --copyright, --version, --dump and --help) it does not cause the interpreter to terminate, and cannot cause harm if read from the environment. During the initial discussion about the --backtrace-limit feature, Matz suggested that he expected RUBYOPT to allow this option.

Patch here, which also documents --backtrace-limit on Ruby’s man page: https://github.com/ruby/ruby/pull/8010

Updated by mame (Yusuke Endoh) almost 2 years ago

  • Status changed from Open to Assigned
  • Assignee set to matz (Yukihiro Matsumoto)
#8

Updated by nobu (Nobuyoshi Nakada) over 1 year ago

  • Status changed from Assigned to Closed
ActionsLike1

Also available in: Atom PDF