669 Commits

Author SHA1 Message Date
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
Rylan Polster
2c83ea7339
Merge pull request #10370 from Rylan12/brew-release
Add brew release command
2021-01-23 15:35:53 -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
Mike McQuaid
2268e774a4
Merge pull request #10301 from hyuraku/cmd/cleanup_add_desc_about_all_to_prune
cmd/cleanup: add description about all to --prune
2021-01-22 14:57:13 +00:00
hyuraku
b4df0d5c10 cmd/cleanup: add desc about all to --prune 2021-01-22 20:53:48 +09:00
Rylan Polster
be02591cb6
Add brew release command 2021-01-21 18:29:43 -05:00
Mike McQuaid
8cb2cc4bcc
install-bundler-gem: allow on ARM.
Needed for CI:
https://github.com/Homebrew/homebrew-core/pull/69460/checks?check_run_id=1740727396#step:6:32
2021-01-21 10:02:57 +00:00
Mike McQuaid
7360880780
Merge pull request #10375 from MikeMcQuaid/dev-cmd-arm
dev-cmd: disable when broken on Apple Silicon.
2021-01-21 09:01:16 +00:00
Mike McQuaid
3bc31d40bd
dev-cmd: disable when broken on Apple Silicon.
This is better than users getting a weird error.
2021-01-20 14:07:44 +00:00
Rylan Polster
4ef8c8279f
completions: complete files where appropriate in bash 2021-01-19 01:03:05 -05:00
Rylan Polster
862ffb6e8b
Updates after rebase on latest master
I didn't resolve the merge conflict correctly, I believe
2021-01-18 21:29:21 -05:00
Rylan Polster
1e4fef8123
usage string generator: fix handling of dashed-commands 2021-01-18 21:20:12 -05:00
Rylan Polster
c8d32ff75a
Updates after rebase on latest master 2021-01-18 21:20:12 -05:00
Rylan Polster
a9a0c415e7
Cleanup usage strings for flags 2021-01-18 21:20:11 -05:00
Rylan Polster
6f69aab6cf
Cleanup usage string
Include only global args and list the specific options if there are two or fewer.
2021-01-18 21:20:11 -05:00
Rylan Polster
d1f3e39b7b
Update commands to generate usage banner 2021-01-18 21:20:11 -05:00
Issy Long
a0f3545a86
dev-cmd/man: Completely remove --link
- This was deprecated in ec75fbcb65ac151f401ec3fb483a1a1acf63d5e4 in 2016!
2021-01-18 00:57:21 +01:00
Dawid Dziurla
f949d57437
cmd,dev-cmd: regenerate manpages and docs 2021-01-15 13:05:11 +01:00
Rylan Polster
eb3a662841 completions: clarify that only external tap completions are affected
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
2021-01-12 16:31:24 -05:00
Rylan Polster
bed16128cc completions: fix usage text 2021-01-10 16:32:18 -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
3b3d495021
Merge pull request #10239 from MikeMcQuaid/rubocop-shim
rubocop: add shim and command.
2021-01-08 13:04:35 +00:00
Vítor Galvão
5dbe54d766 Docs: non-cask binaries are not overwritten by --force 2021-01-07 21:23:06 +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
souleater7
e50e3e4b22 Delete references to devel 2021-01-01 10:16:31 -08:00
hyuraku
64d4eb2425 cmd/update-report: fix to show new tag 2021-01-01 17:54:59 +09:00
Rylan Polster
635ecbc589
Merge pull request #10178 from Rylan12/documentation-updates
Documentation updates
2020-12-31 14:41:41 -05:00
Rylan Polster
e9a44cb96c
Merge pull request #10117 from Rylan12/add-blog-reference-to-release-notes
Add more links to the changelog and blog
2020-12-31 10:46:46 -05:00
Kid
98c968ea2f Add brew casks command 2020-12-30 10:55:26 +08:00
Rylan Polster
5f7c369bc8 docs: fix wording on manpage for cask options 2020-12-29 13:01:58 -05:00
Rylan Polster
c54acefab3
Merge pull request #10147 from Rylan12/rename-cask-args
cli/parser: use - instead of _ in cask args
2020-12-28 22:07:39 -05:00
Rylan Polster
6d0899f298 release-notes: clarify help text and minor refactor 2020-12-28 11:34:29 -05:00
Rylan Polster
a33f4e0fd1 release-notes: show warning on recent major/minor tag 2020-12-28 10:53:41 -05:00
Mike McQuaid
879589583d
Merge pull request #10095 from hyuraku/add-options-to-search
search: add two options
2020-12-28 13:21:10 +00:00
Issy Long
90868fff34
cmd/list: Remove help text about -l displaying file sizes
- It doesn't work on the `HOMEBREW_CELLAR` dir for some reason, and
  using `du -sh` instead (PR 10131) was an extra call that we don't
  need.
- (I had to edit the man page manually as `brew man` gives me "Broken
  pipe" errors.)
2020-12-25 19:03:57 +00:00
Rylan Polster
ab97c30b14 cli/parser: use - instead of _ in cask args 2020-12-25 12:42:18 -05:00
hyuraku
0b574eff90 search: add two options 2020-12-23 23:06:02 +09:00
Rylan Polster
bade687f11 upgrade: fix style in help text 2020-12-20 13:45:33 -05:00
EricFromCanada
69255d268d pr-pull: disable --workflow flag
Replaced by --workflows.
2020-12-18 10:09:23 -05:00
Mike McQuaid
74fb058c7e
More deprecations
More deprecations, disabling and removal for Homebrew 2.7.0.
2020-12-18 14:17:37 +00:00
Markus Reiter
632c9be369
Merge pull request #9533 from hyuraku/style-add-two-options
style: add two options
2020-12-17 11:31:16 +01:00
Mike McQuaid
bf4c5f6d33
manpage: test-bot: add --build-from-source.
Needed due to https://github.com/Homebrew/homebrew-test-bot/pull/538
2020-12-15 12:20:20 +00:00
Mike McQuaid
1a52862e6d
Merge pull request #9424 from EricFromCanada/flag-replacement
pr-pull: prepare replacement for --workflow flag
2020-12-14 12:44:26 +00:00
hyuraku
4f0b7255ac style: add two options 2020-12-13 23:05:08 +09:00
Markus Reiter
b8e10a47dd
Update man page. 2020-12-12 17:43:25 -05:00
Rylan Polster
967636aca0
Merge pull request #9511 from hyuraku/home-add-two-options
add two options (--formula and --cask) to cmd/home
2020-12-12 13:28:09 -05:00
EricFromCanada
9dec442e71 pr-pull: prepare replacement for --workflow flag 2020-12-11 16:50:03 -05:00
hyuraku
16d13fe086 add two options to cmd/home 2020-12-11 23:09:14 +09:00
Mike McQuaid
aa7d7a10db
Merge pull request #9475 from EricFromCanada/bump-edge-cases
bump-formula-pr: handle additional edge cases
2020-12-10 13:13:18 +00:00