aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd/man.rb
diff options
context:
space:
mode:
authorMike McQuaid2017-07-15 13:39:32 +0100
committerGitHub2017-07-15 13:39:32 +0100
commitf5cc8daa393fcd6fca811d3152ed14a567ce9c37 (patch)
tree1a042a0f308cc60ec80471e080572435a02f48d3 /Library/Homebrew/dev-cmd/man.rb
parent83f61830f6346e2a08358a4ca5381b5ffac4fc6e (diff)
parent4fd8aea015e051163ad623cccdaf416c870fed15 (diff)
downloadbrew-f5cc8daa393fcd6fca811d3152ed14a567ce9c37.tar.bz2
Merge pull request #2900 from MikeMcQuaid/improve-docs
Documentation improvements
Diffstat (limited to 'Library/Homebrew/dev-cmd/man.rb')
-rw-r--r--Library/Homebrew/dev-cmd/man.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/dev-cmd/man.rb b/Library/Homebrew/dev-cmd/man.rb
index 7ca22575f..472bb7c2b 100644
--- a/Library/Homebrew/dev-cmd/man.rb
+++ b/Library/Homebrew/dev-cmd/man.rb
@@ -65,7 +65,9 @@ module Homebrew
readme = HOMEBREW_REPOSITORY/"README.md"
variables[:lead_maintainer] = readme.read[/(Homebrew's lead maintainer .*\.)/, 1]
.gsub(/\[([^\]]+)\]\([^)]+\)/, '\1')
- variables[:maintainers] = readme.read[/(Homebrew's current maintainers .*\.)/, 1]
+ variables[:core_maintainer] = readme.read[%r{(Homebrew/homebrew-core's lead maintainer .*\.)}, 1]
+ .gsub(/\[([^\]]+)\]\([^)]+\)/, '\1')
+ variables[:maintainers] = readme.read[/(Homebrew's other current maintainers .*\.)/, 1]
.gsub(/\[([^\]]+)\]\([^)]+\)/, '\1')
variables[:former_maintainers] = readme.read[/(Former maintainers .*\.)/, 1]
.gsub(/\[([^\]]+)\]\([^)]+\)/, '\1')