From 1c581a232cb59bea25d5cb3a4d4885854938ccb8 Mon Sep 17 00:00:00 2001
From: Martin Afanasjew
Date: Thu, 26 May 2016 17:52:58 +0200
Subject: search: add alias -S back to zero-argument help
Amends 132ada2b0ebb3751c0f8f42ca83bb257b55a50fd until we properly figure
out a way of documenting built-in aliases (or not doing that) across all
commands that currently have aliases. See #270 for full discussion.
---
Library/Homebrew/cmd/search.rb | 2 +-
share/doc/homebrew/brew.1.html | 2 +-
share/man/man1/brew.1 | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Library/Homebrew/cmd/search.rb b/Library/Homebrew/cmd/search.rb
index 33aa8ae9f..71f5d3a8b 100644
--- a/Library/Homebrew/cmd/search.rb
+++ b/Library/Homebrew/cmd/search.rb
@@ -1,4 +1,4 @@
-#: * `search`:
+#: * `search`, `-S`:
#: Display all locally available formulae for brewing (including tapped ones).
#: No online search is performed if called without arguments.
#:
diff --git a/share/doc/homebrew/brew.1.html b/share/doc/homebrew/brew.1.html
index dd8eed900..39e8c3095 100644
--- a/share/doc/homebrew/brew.1.html
+++ b/share/doc/homebrew/brew.1.html
@@ -314,7 +314,7 @@ created by brew linkapps.
If --dry-run or -n is passed, show what would be removed, but do not
actually remove anything.
reinstall formulaUninstall then install formula
searchDisplay all locally available formulae for brewing (including tapped ones). +
search, -SDisplay all locally available formulae for brewing (including tapped ones). No online search is performed if called without arguments.
search [--desc] text|/text/Perform a substring search of formula names for text. If text is surrounded with slashes, then it is interpreted as a regular expression. diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1 index fde5387ef..768a85d55 100644 --- a/share/man/man1/brew.1 +++ b/share/man/man1/brew.1 @@ -426,7 +426,7 @@ If \fB\-\-dry\-run\fR or \fB\-n\fR is passed, show what would be removed, but do Uninstall then install \fIformula\fR . .TP -\fBsearch\fR +\fBsearch\fR, \fB\-S\fR Display all locally available formulae for brewing (including tapped ones)\. No online search is performed if called without arguments\. . .TP -- cgit v1.2.3