diff options
| author | Mike McQuaid | 2016-09-08 09:55:53 +0100 |
|---|---|---|
| committer | GitHub | 2016-09-08 09:55:53 +0100 |
| commit | 3dff6f61d80d38fafdbc80e8d390dce155a10de4 (patch) | |
| tree | 350f76fbab9ff638faee7dd3a45e038101556cf8 /Library/Homebrew/dev-cmd/linkage.rb | |
| parent | f3aaa8780ae578ff22a11d0aece6d1cddf382314 (diff) | |
| parent | ebdb879fe4b0d14bcc92480a3dd193c93f94a23f (diff) | |
| download | brew-3dff6f61d80d38fafdbc80e8d390dce155a10de4.tar.bz2 | |
Merge pull request #890 from MikeMcQuaid/dev-cmd-help
dev-cmd: add `--help` to all developer commands.
Diffstat (limited to 'Library/Homebrew/dev-cmd/linkage.rb')
| -rw-r--r-- | Library/Homebrew/dev-cmd/linkage.rb | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/Library/Homebrew/dev-cmd/linkage.rb b/Library/Homebrew/dev-cmd/linkage.rb index 8ee0e87df..993420c02 100644 --- a/Library/Homebrew/dev-cmd/linkage.rb +++ b/Library/Homebrew/dev-cmd/linkage.rb @@ -1,16 +1,14 @@ -# -# Description: check linkage of installed keg -# Usage: -# brew linkage <formulae> -# -# Only works on installed formulae. An error is raised if it is run on uninstalled -# formulae. -# -# Options: -# --test - testing version: only display broken libs; exit non-zero if any -# breakage was found. -# --reverse - For each dylib the keg references, print the dylib followed by the -# binaries which link to it. +#: * `linkage` [`--test`] [`--reverse`] <formula-name>: +#: Checks the library links of an installed formula. +#: +#: Only works on installed formulae. An error is raised if it is run on +#: uninstalled formulae. +#: +#: If `--test` is passed, only display missing libraries and exit with a +#: non-zero exit code if any missing libraries were found. +#: +#: If `--reverse` is passed, print the dylib followed by the binaries +#: which link to it for each library the keg references. require "os/mac/linkage_checker" |
