From de3f41b230ae59597f713eddb2df0905e528adc1 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Wed, 23 Jul 2025 19:09:10 +0300 Subject: [PATCH] brew-{autoremove, install, upgrade}: add short options (#17331) --- pages/common/brew-autoremove.md | 2 +- pages/common/brew-install.md | 4 ++-- pages/common/brew-upgrade.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/common/brew-autoremove.md b/pages/common/brew-autoremove.md index 86c2ec78cb..a07f296a86 100644 --- a/pages/common/brew-autoremove.md +++ b/pages/common/brew-autoremove.md @@ -9,4 +9,4 @@ - Print what would be removed, but don't actually remove anything: -`brew autoremove --dry-run` +`brew autoremove {{[-n|--dry-run]}}` diff --git a/pages/common/brew-install.md b/pages/common/brew-install.md index cf715edd7d..450dacf703 100644 --- a/pages/common/brew-install.md +++ b/pages/common/brew-install.md @@ -9,8 +9,8 @@ - Build and install a formula from source (dependencies will still be installed from bottles): -`brew install --build-from-source {{formula}}` +`brew install {{[-s|--build-from-source]}} {{formula}}` - Download the manifest, print what would be installed but don't actually install anything: -`brew install --dry-run {{formula|cask}}` +`brew install {{[-n|--dry-run]}} {{formula|cask}}` diff --git a/pages/common/brew-upgrade.md b/pages/common/brew-upgrade.md index 432ce1af7e..b39599bad8 100644 --- a/pages/common/brew-upgrade.md +++ b/pages/common/brew-upgrade.md @@ -13,4 +13,4 @@ - Print what would be upgraded, but don't actually upgrade anything: -`brew upgrade --dry-run` +`brew upgrade {{[-n|--dry-run]}}`