Skip to content

Commit 0f702f8

Browse files
committed
cli: remove unsupported :env on flag definitions for --timeout-wait-for-user to fix parser keyword error
1 parent 4f8d38b commit 0f702f8

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Library/Homebrew/cmd/install.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ class InstallCmd < AbstractCommand
5151
description: "Fail fast on any interactive prompt and use non-interactive sudo where applicable.",
5252
env: :non_interactive
5353
flag "--timeout-wait-for-user=",
54-
description: "Wait this many seconds when an interactive prompt is detected; then skip the item.",
55-
env: :prompt_timeout_secs
54+
description: "Wait this many seconds when an interactive prompt is detected; then skip the item."
5655
[
5756
[:switch, "--formula", "--formulae", {
5857
description: "Treat all named arguments as formulae.",

Library/Homebrew/cmd/upgrade.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ class UpgradeCmd < AbstractCommand
4747
description: "Fail fast on any interactive prompt and use non-interactive sudo where applicable.",
4848
env: :non_interactive
4949
flag "--timeout-wait-for-user=",
50-
description: "Wait this many seconds when an interactive prompt is detected; then skip the item.",
51-
env: :prompt_timeout_secs
50+
description: "Wait this many seconds when an interactive prompt is detected; then skip the item."
5251
[
5352
[:switch, "--formula", "--formulae", {
5453
description: "Treat all named arguments as formulae. If no named arguments " \

0 commit comments

Comments
 (0)