169 Commits

Author SHA1 Message Date
nandahkrishna
24bb6040a7
dev-cmd/bump: add cask support 2021-02-17 00:42:07 +05:30
Jonathan Chang
5792a0d1ef Update completions and manpages. 2021-02-15 13:43:40 +11:00
nandahkrishna
7bb059b523
Update manpage and completions 2021-02-08 23:33:25 +05:30
Max Nordlund
fee42c4d5f
Fix typo 2021-02-06 23:10:24 +01:00
Dawid Dziurla
a90fb27adb
untap: add missing --force switch 2021-02-04 18:36:32 +01:00
Mike McQuaid
cdf8ff9052
Merge pull request #10266 from gromgit/prefix_non_installed
cmd/--prefix: add --installed flag
2021-02-01 09:05:28 +00:00
Adrian Ho
28a8409b6e cmd/--prefix: add --installed flag
This changes the output for uninstalled formulae from Cellar prefix to empty string, so:
```sh
$ brew --prefix abcde python@3.9 tcl-tk
/usr/local/Cellar/abcde/2.9.3_1
/usr/local/opt/python@3.9
/usr/local/Cellar/tcl-tk/8.6.10
$ brew --prefix --installed abcde python@3.9 tcl-tk

/usr/local/opt/python@3.9

$
```
2021-01-31 16:09:43 +08:00
Mike McQuaid
d6957a3acb
Homebrew 3.0.0 deprecations/disables 2021-01-29 19:50:24 +00:00
Muneeb Ahmed
ae70e43aa3 Fix fish shell completion 2021-01-29 00:10:13 -08:00
Rylan Polster
f508f8dc0c
update: show message prompting brew tap --repair
This message is shown when a fetch fails due to a branch rename
2021-01-28 09:10:13 -05:00
Mike McQuaid
b14bd7a521
Merge pull request #10434 from jonchang/guard-zsh-completions
zsh: add guards to speed up completions
2021-01-28 09:24:31 +00:00
Mike McQuaid
0fc2e82dd4
Merge pull request #10435 from jonchang/conflict-zsh-completions
zsh: don't complete conflicting options
2021-01-28 09:24:10 +00:00
Rylan Polster
0456516500
Update fish completions to satisfy brew man 2021-01-28 02:03:34 -05:00
Rylan Polster
5b2f8a5a73
Merge pull request #10431 from Rylan12/fish-completions
Generate fish completions automatically
2021-01-27 17:46:34 -05:00
Jonathan Chang
fdda2b3414 zsh: prevent autocompleting conflicting options 2021-01-27 14:54:39 +11:00
Jonathan Chang
f5cc26ffc6 zsh: add guards to speed up completions
If we type `brew install -<TAB>` we shouldn't try to shell out to Ruby
to get a list of formulae for completions.
2021-01-27 14:09:38 +11:00
EricFromCanada
6fc116318e fixes for grammar and wording 2021-01-26 16:19:47 -05:00
Rylan Polster
541a981d37
completions: generate fish completions 2021-01-26 10:47:56 -05:00
Rylan Polster
67e03a0675
Improve command descriptions
Co-Authored-By: Jonathan Chang <me@jonathanchang.org>
Co-Authored-By: Eric Knibbe <3324775+EricFromCanada@users.noreply.github.com>
2021-01-25 13:46:51 -05:00
Rylan Polster
3e8b91679d
completions: generate zsh completions 2021-01-25 13:46:51 -05:00
Mike McQuaid
d0e1c3dc5f
Merge pull request #10400 from issyl0/improve-brew-extract-args
dev-cmd/extract: Improve the usage instructions
2021-01-25 09:55:01 +00:00
Muneeb Ahmed
6a08e273d0 Fix zsh completions for upgrade and reinstall 2021-01-24 20:30:33 -08:00
Seeker
27d32aa2d3 completions/zsh: fix broken zsh tab completion for brew upgrade 2021-01-24 18:04:14 -08:00
Rylan Polster
01e894e9c6
parser: create NumberOfNamedArgumentsError
And commit `brew man` changes
2021-01-23 15:26:21 -05:00
Issy Long
49b9b6cf3f
dev-cmd/extract: Improve the usage instructions
- A friend got an error message when trying to use `brew extract` and it
  wasn't immediately obvious to me why. The usage banner only mentioned
  the "formula" argument, which they'd provided. This improves the error
  message when there aren't enough arguments so that others have a
  chance of figuring out how to use this command without having to look
  at the code for `extract_args`.

Before:

```
➜ brew extract --version='1.4' libftdi
Usage: brew extract [--version=] [--force] formula ...
[...]
Error: Invalid usage: this command requires a formula argument
```

After:

```
➜ brew extract --version='1.4' libftdi
Usage: brew extract [options] formula tap
[...]
Error: Invalid usage: This command requires at least 2 named arguments.
```

- I don't like the "at least 2" phrasing here but that's a dive into the
  arg parsing code that I don't have time for right now. An alternative
  was `named_args [:formula, :destination_tap]`, but that gave the error
  message "requires formula or destination_tap" which wasn't great
  either. I also tried `min: 2, max: 2` and that was the same "at least
  2" message.
2021-01-23 20:01:11 +00:00
Rylan Polster
be02591cb6
Add brew release command 2021-01-21 18:29:43 -05:00
hyuraku
7e2db0cd3d completions/zsh: add-cask-option 2021-01-21 18:38:34 +09:00
Rylan Polster
4ef8c8279f
completions: complete files where appropriate in bash 2021-01-19 01:03:05 -05:00
Rylan Polster
c8d32ff75a
Updates after rebase on latest master 2021-01-18 21:20:12 -05:00
Dustin Rodrigues
1b828f4b4a completions: remove link 2021-01-18 20:27:18 -05:00
Rylan Polster
a77fdca105
completions: complete multiple types 2021-01-17 20:22:00 -05:00
Rylan Polster
3af16832d9 Generate bash completions automatically 2021-01-15 00:03:28 -05:00
Rylan Polster
234267cc93 completions: make opt-in only 2021-01-08 11:10:24 -05:00
Mike McQuaid
30d5fc6285
Merge pull request #10259 from kidonng/cask-completion
Add brew casks command
2021-01-08 13:04:53 +00:00
Mike McQuaid
dc072afdb1
rubocop: add shim and command.
Add a shim and a command that can be used to easily add a single
directory to your `PATH` (`Library/Homebrew/shims/gems`) and have it
automatically install, configure and run `rubocop` so you can use it
for in-editor integrations.
2021-01-07 13:27:17 +00:00
Mike McQuaid
dad7dc6a14
Merge pull request #10196 from souleater7/delete-devel
Delete references to devel
2021-01-06 09:15:52 +00:00
hyuraku
11bc456d46 completions/zsh: add --pull-reques to search 2021-01-05 22:13:24 +09:00
hyuraku
90ff41f451 zsh/completions: add_cask_options 2021-01-05 15:54:26 +09:00
souleater7
d57c7153e2 Delete outdated references to HEAD 2021-01-04 15:48:23 -08:00
souleater7
e50e3e4b22 Delete references to devel 2021-01-01 10:16:31 -08:00
Kid
98c968ea2f Add brew casks command 2020-12-30 10:55:26 +08:00
Rylan Polster
ab97c30b14 cli/parser: use - instead of _ in cask args 2020-12-25 12:42:18 -05:00
Kid
844363c747
Fix description cache path in Fish completion 2020-12-25 13:55:32 +08:00
Markus Reiter
b57a448f2a Add bump-unversioned-casks command. 2020-12-07 23:03:47 +01:00
Mike McQuaid
135b5a3679
dev-cmd/unbottled: add new command.
Add a new command to list formulae that aren't bottled for a given OS.
2020-11-26 08:22:06 +00:00
Mike McQuaid
d496f5c121
Deprecations for Homebrew 2.6.0
Do the usual deprecate/disable dance for the Homebrew 2.6.0 release.

Not to be merged until the next release will definitely be 2.6.0.
2020-11-24 16:44:02 +00:00
Mike McQuaid
75d9d061a7
Commit brew man output. 2020-11-20 12:44:07 +00:00
metacollin
3fdad5ed33 Fixed tabs instead of spaces 2020-11-19 21:00:10 -07:00
metacollin
847766140f Doc problems 2020-11-19 20:56:20 -07:00
metacollin
c176f28f39 Added fixes. 2020-11-19 20:18:08 -07:00