From ebdb879fe4b0d14bcc92480a3dd193c93f94a23f Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 8 Sep 2016 09:05:00 +0100 Subject: Add `--help` to all developer commands. Also, flag those that we never want to be in a manpage. --- Library/Homebrew/dev-cmd/linkage.rb | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) (limited to 'Library/Homebrew/dev-cmd/linkage.rb') 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 -# -# 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`] : +#: 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" -- cgit v1.2.3