Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve brew install --quiet #9188

Merged
merged 1 commit into from
Nov 18, 2020

Conversation

MikeMcQuaid
Copy link
Member

  • Suppress (some more) warnings when doing brew install --quiet
  • Clarify man brew output that we don't suppress all warnings for all commands with --quiet

While I was doing this I noticed references to the (soon to be deprecated) brew switch so:

  • remove these references in install output
  • remove a reference in the documentation
  • add a comment to remind me to deprecate brew diy, too

Fixes #9179

- Suppress (some more) warnings when doing `brew install --quiet`
- Clarify `man brew` output that we don't suppress all warnings
  for all commands with `--quiet`

While I was doing this I noticed references to the (soon to be
deprecated) `brew switch` so:
- remove these references in `install` output
- remove a reference in the documentation
- add a comment to remind me to deprecate `brew diy`, too

Fixes #9179
@@ -251,8 +258,10 @@ def install
#{msg}, it's just not linked.
You can use `brew link #{old_formula.full_name}` to link this version.
EOS
elsif args.quiet?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be only in the elsif case?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, we want msg to be set to the default otherwise 👍🏻

@MikeMcQuaid MikeMcQuaid merged commit 97a7b02 into Homebrew:master Nov 18, 2020
@MikeMcQuaid MikeMcQuaid deleted the install-quiet-tweaks branch November 18, 2020 11:31
@BrewTestBot BrewTestBot added the outdated PR was locked due to age label Dec 19, 2020
@Homebrew Homebrew locked as resolved and limited conversation to collaborators Dec 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated PR was locked due to age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

brew install --quiet does not suppress warnings
3 participants