diff options
| author | Tim D. Smith | 2016-06-28 08:08:12 -0700 |
|---|---|---|
| committer | Tim D. Smith | 2016-06-29 09:01:36 -0700 |
| commit | 9b36e8377142241218cb472dcaf64561f70b96e9 (patch) | |
| tree | 92accd1435f5f2655d93112189489cbba76d6550 /Library/Homebrew/cmd/man.rb | |
| parent | be3d33ea364c735ef36ef2e77ea8915c99daef4a (diff) | |
| download | brew-9b36e8377142241218cb472dcaf64561f70b96e9.tar.bz2 | |
Add magic token to hide commands from man page
Closes #402.
Diffstat (limited to 'Library/Homebrew/cmd/man.rb')
| -rw-r--r-- | Library/Homebrew/cmd/man.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/man.rb b/Library/Homebrew/cmd/man.rb index e23313be3..d704d46a1 100644 --- a/Library/Homebrew/cmd/man.rb +++ b/Library/Homebrew/cmd/man.rb @@ -51,7 +51,7 @@ module Homebrew map { |line| line.slice(2..-1) }. join }. - reject { |s| s.strip.empty? } + reject { |s| s.strip.empty? || s.include?("@hide_from_man_page") } variables[:maintainers] = (HOMEBREW_REPOSITORY/"README.md"). read[/Homebrew's current maintainers are (.*)\./, 1]. |
