diff options
Diffstat (limited to 'Library/Homebrew/cmd/desc.rb')
| -rw-r--r-- | Library/Homebrew/cmd/desc.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Library/Homebrew/cmd/desc.rb b/Library/Homebrew/cmd/desc.rb index 3ef02288b..53291602e 100644 --- a/Library/Homebrew/cmd/desc.rb +++ b/Library/Homebrew/cmd/desc.rb @@ -1,11 +1,10 @@ #: * `desc` <formula>: #: Display <formula>'s name and one-line description. #: -#: * `desc` [`-s`|`-n`|`-d`] <pattern>: +#: * `desc` [`-s`|`-n`|`-d`] (<text>|`/`<text>`/`): #: Search both name and description (`-s`), just the names (`-n`), or just the -#: descriptions (`-d`) for `<pattern>`. `<pattern>` is by default interpreted -#: as a literal string; if flanked by slashes, it is instead interpreted as a -#: regular expression. Formula descriptions are cached; the cache is created on +#: descriptions (`-d`) for <text>. If <text> is flanked by slashes, it is interpreted +#: as a regular expression. Formula descriptions are cached; the cache is created on #: the first search, making that search slower than subsequent ones. require "descriptions" |
