diff options
| author | Mike McQuaid | 2016-09-08 09:05:00 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2016-09-08 09:05:00 +0100 |
| commit | ebdb879fe4b0d14bcc92480a3dd193c93f94a23f (patch) | |
| tree | 03b1f4e1fce2db8e58f930800ee97f86e4cb08b7 /Library/Homebrew/dev-cmd/linkage.rb | |
| parent | 9586390418dbcb8655bf7c62bb315c2a2090722e (diff) | |
| download | brew-ebdb879fe4b0d14bcc92480a3dd193c93f94a23f.tar.bz2 | |
Add `--help` to all developer commands.
Also, flag those that we never want to be in a manpage.
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" |
