diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 13b65b40c0..74f59b1729 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -32,6 +32,9 @@ module Homebrew switch "-d", "--debug", description: "If brewing fails, open an interactive debugging session with access to IRB " \ "or a shell inside the temporary build directory." + switch "--display-times", + env: :display_install_times, + description: "Print install times for each package at the end of the run." switch "-f", "--force", description: "Install formulae without checking for previously installed keg-only or " \ "non-migrated versions. When installing casks, overwrite existing files " \ @@ -103,10 +106,6 @@ module Homebrew description: "Optimise bottles for the specified architecture rather than the oldest " \ "architecture supported by the version of macOS the bottles are built on.", }], - [:switch, "--display-times", { - env: :display_install_times, - description: "Print install times for each package at the end of the run.", - }], [:switch, "-i", "--interactive", { description: "Download and patch , then open a shell. This allows the user to " \ "run `./configure --help` and otherwise determine how to turn the software " \ diff --git a/Library/Homebrew/cmd/reinstall.rb b/Library/Homebrew/cmd/reinstall.rb index fb1f1d0d95..20f87915f9 100644 --- a/Library/Homebrew/cmd/reinstall.rb +++ b/Library/Homebrew/cmd/reinstall.rb @@ -31,6 +31,9 @@ module Homebrew switch "-d", "--debug", description: "If brewing fails, open an interactive debugging session with access to IRB " \ "or a shell inside the temporary build directory." + switch "--display-times", + env: :display_install_times, + description: "Print install times for each package at the end of the run." switch "-f", "--force", description: "Install without checking for previously installed keg-only or " \ "non-migrated versions." @@ -57,10 +60,6 @@ module Homebrew depends_on: "--build-from-source", description: "Generate debug symbols on build. Source will be retained in a cache directory.", }], - [:switch, "--display-times", { - env: :display_install_times, - description: "Print install times for each formula at the end of the run.", - }], [:switch, "-g", "--git", { description: "Create a Git repository, useful for creating patches to the software.", }], diff --git a/Library/Homebrew/cmd/upgrade.rb b/Library/Homebrew/cmd/upgrade.rb index 26a802d8f4..71516f1161 100644 --- a/Library/Homebrew/cmd/upgrade.rb +++ b/Library/Homebrew/cmd/upgrade.rb @@ -28,6 +28,9 @@ module Homebrew switch "-d", "--debug", description: "If brewing fails, open an interactive debugging session with access to IRB " \ "or a shell inside the temporary build directory." + switch "--display-times", + env: :display_install_times, + description: "Print install times for each package at the end of the run." switch "-f", "--force", description: "Install formulae without checking for previously installed keg-only or " \ "non-migrated versions. When installing casks, overwrite existing files " \ @@ -69,10 +72,6 @@ module Homebrew depends_on: "--build-from-source", description: "Generate debug symbols on build. Source will be retained in a cache directory.", }], - [:switch, "--display-times", { - env: :display_install_times, - description: "Print install times for each package at the end of the run.", - }], [:switch, "--overwrite", { description: "Delete files that already exist in the prefix while linking.", }],