Skip to content

Commit

Permalink
Fix regexps for abbreviated options
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Apr 27, 2024
1 parent a0b4f0b commit 937cb11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bootstraptest/runner.rb
Expand Up @@ -193,7 +193,7 @@ def main
warn "unknown --tty argument: #$3" if $3
BT.tty = !$1 || !$2
true
when /\A(-q|--q(uiet))\z/
when /\A(-q|--q(uiet)?)\z/
quiet = true
BT.quiet = true
true
Expand All @@ -204,7 +204,7 @@ def main
BT.timeout = $1.to_f
BT.timeout_scale = $2.to_f if defined?($2)
true
when /\A(-v|--v(erbose))\z/
when /\A(-v|--v(erbose)?)\z/
BT.verbose = true
BT.quiet = false
true
Expand Down

0 comments on commit 937cb11

Please sign in to comment.