diff options
| author | Mike McQuaid | 2013-01-26 13:16:55 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2013-01-26 13:16:55 +0000 |
| commit | 21f1efcba65e036fcbc57da26af9bbd35a36e2d4 (patch) | |
| tree | 6dfdf59241dbda9dcabc4be9a4a05afd3aba7192 /Library/Contributions/cmds | |
| parent | bb8c22c90d9fe97a42f9524ad82d951782450c77 (diff) | |
| download | brew-21f1efcba65e036fcbc57da26af9bbd35a36e2d4.tar.bz2 | |
We use formulae as the plural of formula.
Diffstat (limited to 'Library/Contributions/cmds')
| -rwxr-xr-x | Library/Contributions/cmds/brew-leaves.rb | 2 | ||||
| -rwxr-xr-x | Library/Contributions/cmds/brew-server | 6 | ||||
| -rwxr-xr-x | Library/Contributions/cmds/brew-services.rb | 12 |
3 files changed, 10 insertions, 10 deletions
diff --git a/Library/Contributions/cmds/brew-leaves.rb b/Library/Contributions/cmds/brew-leaves.rb index 068fb21df..f94809c9d 100755 --- a/Library/Contributions/cmds/brew-leaves.rb +++ b/Library/Contributions/cmds/brew-leaves.rb @@ -1,4 +1,4 @@ -# Outputs formulas that are installed but are not a dependency for +# Outputs formulae that are installed but are not a dependency for # any other installed formula. # See: http://github.com/mxcl/homebrew/issues/issue/1438 diff --git a/Library/Contributions/cmds/brew-server b/Library/Contributions/cmds/brew-server index 435a4abfa..5c55c05fa 100755 --- a/Library/Contributions/cmds/brew-server +++ b/Library/Contributions/cmds/brew-server @@ -173,7 +173,7 @@ get '/formula/:name' do end -def installed_formulas +def installed_formulae Formula.select{|formula| formula.installed?} end @@ -182,7 +182,7 @@ get '/installed' do s = <<-HTML <html> <head> - <title>Installed Formulas</title> + <title>Installed formulae</title> #{css_style} </head> <body> @@ -190,7 +190,7 @@ get '/installed' do <ul> HTML - installed_formulas.each do |formula| + installed_formulae.each do |formula| s << "<li>#{link_to_formula(formula.name)}</li>" end diff --git a/Library/Contributions/cmds/brew-services.rb b/Library/Contributions/cmds/brew-services.rb index 143ba5743..4891ae510 100755 --- a/Library/Contributions/cmds/brew-services.rb +++ b/Library/Contributions/cmds/brew-services.rb @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -w -# brew-services(1) - Easily start and stop formulas via launchctl +# brew-services(1) - Easily start and stop formulae via launchctl # =============================================================== # # ## SYNOPSIS @@ -13,7 +13,7 @@ # # ## DESCRIPTION # -# Integrates homebrew formulas with MacOS X' `launchctl` manager. Services +# Integrates homebrew formulae with MacOS X' `launchctl` manager. Services # can either be added to `/Library/LaunchDaemons` or `~/Library/LaunchAgents`. # Basically items added to `/Library/LaunchDaemons` are started at boot, # those in `~/Library/LaunchAgents` at login. @@ -45,12 +45,12 @@ # # ## SYNTAX # -# Several existing formulas (like mysql, nginx) already write custom plist -# files to the formulas prefix. Most of these implement `#startup_plist` +# Several existing formulae (like mysql, nginx) already write custom plist +# files to the formulae prefix. Most of these implement `#startup_plist` # which then in turn returns a neat-o plist file as string. # # `brew services` operates on `#startup_plist` as well and requires -# supporting formulas to implement it. This method should either string +# supporting formulae to implement it. This method should either string # containing the generated XML file, or return a `Pathname` instance which # points to a plist template, or a hash like: # @@ -130,7 +130,7 @@ module ServicesCli def usage(code = 0) puts "usage: [sudo] #{bin} [--help] <command> [<formula>]" puts - puts "Small wrapper around `launchctl` for supported formulas, commands available:" + puts "Small wrapper around `launchctl` for supported formulae, commands available:" puts " cleanup Get rid of stale services and unused plists" puts " list List all services managed by `#{bin}`" puts " restart Gracefully restart selected service" |
