`brew link` can now be made to delete any conflicting files using the --force argument. It also has a --dry-run option, similar to git clean -n, which will list any files which would be deleted without touching the filesystem. Closes #11811. Signed-off-by: Misty De Meo <firstname.lastname@example.org>
Manpage updated. The -s switch is "scrub" and removes downloads for uninstall formula which are downloads for the latest version of that formula still. Please NOTE cache is NOT cleaned if a formula argument is provided. I couldn't be bothered. Patches welcome :) Closes #2923.
If HOMEBREW_KEEP_INFO environment variable is set: - Do not symlink the info directory file (aka 'share/info/dir') otherwise it gets overwritten by next installed brew. - Install an entry in the directory for each linked info file when the brew is linked. - Uninstall the entry when the brew is unlinked. Closes #9700. Signed-off-by: Jack Nagel <email@example.com>
When investigating issues, one might want to see exactly what curl is doing behind the scenes. Setting HOMEBREW_CURL_VERBOSE will cause the '--verbose' flag to be passed to all invocations of curl. Prompted by #8992. Signed-off-by: Jack Nagel <firstname.lastname@example.org>
While updating the bash completion script, I encountered some options that were previously undocumented. I purposely did not document the --macports and --fink flags for `brew create`, because the exact same functionality exists in `brew search`. Perhaps we should remove it from create. Signed-off-by: Jack Nagel <email@example.com>
Document the '--versions' option for `brew list`. The two forms of the `list` command as previously documented clearly do different things, but after documenting '--versions', their functions do overlap a bit, so we combine them and clarify the different invocations. Signed-off-by: Jack Nagel <firstname.lastname@example.org>