aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/git-now.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2012-02-05 10:04:39 -0800
committerAdam Vandenberg2012-02-05 10:04:39 -0800
commit040a144031bfb1317c9a56e9be6a5c21d8af70e8 (patch)
treea134340cc6bbfcb64f64cf98d4ce525c9f8406a8 /Library/Formula/git-now.rb
parentc2c2e21fa443d7dbb77f023db319f4910fe01554 (diff)
downloadhomebrew-040a144031bfb1317c9a56e9be6a5c21d8af70e8.tar.bz2
git-now: update options/caveats
Move the long path name out of the option description and add it to the caveats instead.
Diffstat (limited to 'Library/Formula/git-now.rb')
-rw-r--r--Library/Formula/git-now.rb10
1 files changed, 7 insertions, 3 deletions
diff --git a/Library/Formula/git-now.rb b/Library/Formula/git-now.rb
index 37ae7bb42..e12ac5f70 100644
--- a/Library/Formula/git-now.rb
+++ b/Library/Formula/git-now.rb
@@ -9,9 +9,7 @@ class GitNow < Formula
depends_on 'gnu-getopt'
def options
- [
- ['--zsh-completion', "copy zsh completion function file to #{share}/zsh/functions"]
- ]
+ [['--zsh-completion', "Install zsh completions."]]
end
def patches
@@ -26,6 +24,12 @@ class GitNow < Formula
end
end
+ def caveats; <<-EOS
+ If `--zsh-completion` is specified, zsh completions are installed to:
+ #{share}/zsh/functions
+ EOS
+ end
+
end
# This patch makes sure GNUtools are used on OSX.