diff --git a/Library/Homebrew/dev-cmd/man.rb b/Library/Homebrew/dev-cmd/man.rb
index 8b20158ef5..f90aa6d2a9 100644
--- a/Library/Homebrew/dev-cmd/man.rb
+++ b/Library/Homebrew/dev-cmd/man.rb
@@ -51,9 +51,18 @@ module Homebrew
variables[:commands] = path_glob_commands("#{HOMEBREW_LIBRARY_PATH}/cmd/*.{rb,sh}")
variables[:developer_commands] = path_glob_commands("#{HOMEBREW_LIBRARY_PATH}/dev-cmd/*.{rb,sh}")
- variables[:maintainers] = (HOMEBREW_REPOSITORY/"README.md")
+ readme = HOMEBREW_REPOSITORY/"README.md"
+ variables[:lead_maintainer] = readme
+ .read[/Homebrew's lead maintainer is (.*)\./, 1]
+ .scan(/\[([^\]]*)\]/).flatten.first
+ variables[:maintainers] = readme
.read[/Homebrew's current maintainers are (.*)\./, 1]
.scan(/\[([^\]]*)\]/).flatten
+ former_maintainers = readme
+ .read[/Former maintainers with significant contributions include (.*)\./, 1]
+ .scan(/\[([^\]]*)\]/).flatten
+ variables[:former_maintainers] = former_maintainers[0...-1]
+ variables[:creator] = former_maintainers.last
ERB.new(template, nil, ">").result(variables.instance_eval { binding })
end
diff --git a/Library/Homebrew/manpages/brew.1.md.erb b/Library/Homebrew/manpages/brew.1.md.erb
index bb6a15261a..f856b50ee2 100644
--- a/Library/Homebrew/manpages/brew.1.md.erb
+++ b/Library/Homebrew/manpages/brew.1.md.erb
@@ -255,9 +255,11 @@ Homebrew Documentation: ./configure && make && m
or even your gem install succeed. Especially handy if you run Homebrew
in an Xcode-only configuration since it adds tools like make to your PATH
which otherwise build-systems would not find.
style [--fix] [--display-cop-names] [formulae|files]Check formulae or files for conformance to Homebrew style guidelines.
- -formulae is a list of formula names.
- -files is a list of file names.
+style [--fix] [--display-cop-names] [files|taps|formulae]Check formulae or files for conformance to Homebrew style guidelines.
formulae and files may not be combined. If both are omitted, style will run
style checks on the whole Homebrew Library, including core code and all
formulae.
If --fix is passed and HOMEBREW_DEVELOPER is set, style violations
-will be automatically fixed using RuboCop's --auto-correct feature.
If --fix is passed, style violations will be automatically fixed using
+RuboCop's --auto-correct feature.
If --display-cop-names is passed, the RuboCop cop name for each violation
is included in the output.
Homebrew's current maintainers are Misty De Meo, Andrew Janke, Xu Cheng, Tomasz Pajor, Mike McQuaid, Baptiste Fontaine, Brett Koonce, ilovezfs, Martin Afanasjew, Dominyk Tiller, Tim Smith and Alex Dunn.
+Homebrew's lead maintainer is Mike McQuaid.
-Former maintainers with significant contributions include Jack Nagel, Adam Vandenberg and Homebrew's creator: Max Howell.
+Homebrew's current maintainers are Misty De Meo, Andrew Janke, Xu Cheng, Tomasz Pajor, Baptiste Fontaine, Zhiming Wang, Brett Koonce, ilovezfs, Martin Afanasjew, Uladzislau Shablinski, Dominyk Tiller, Tim Smith and Alex Dunn.
+ +Former maintainers with significant contributions include Jack Nagel, Adam Vandenberg, Max Howell and Homebrew's creator: Max Howell.