diff options
author | Yusuke Endoh <[email protected]> | 2024-01-19 16:03:38 +0900 |
---|---|---|
committer | Yusuke Endoh <[email protected]> | 2024-02-15 18:42:31 +0900 |
commit | 25d74b9527cd525042ad0b612b794fa331d3a318 (patch) | |
tree | 3b40adf0eb79bb5d7e81640d98dee162c35c076b /lib/optparse.rb | |
parent | 926277bf826127c65689ddf01f94e23d538a3b8b (diff) |
Do not include a backtick in error messages and backtraces
[Feature #16495]
Diffstat (limited to 'lib/optparse.rb')
-rw-r--r-- | lib/optparse.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/optparse.rb b/lib/optparse.rb index 438a09fbf6..2ee592954c 100644 --- a/lib/optparse.rb +++ b/lib/optparse.rb @@ -849,7 +849,7 @@ class OptionParser def accept(t, pat = /.*/m, &block) if pat pat.respond_to?(:match) or - raise TypeError, "has no `match'", ParseError.filter_backtrace(caller(2)) + raise TypeError, "has no 'match'", ParseError.filter_backtrace(caller(2)) else pat = t if t.respond_to?(:match) end |