git-now: update options/caveats

Move the long path name out of the option description and add it to the
caveats instead.
master
Adam Vandenberg 2012-02-05 10:04:39 -08:00
parent 0107197ceb
commit 31898e19a4
1 changed files with 7 additions and 3 deletions

View File

@ -9,9 +9,7 @@ class GitNow < Formula
depends_on 'gnu-getopt' depends_on 'gnu-getopt'
def options def options
[ [['--zsh-completion', "Install zsh completions."]]
['--zsh-completion', "copy zsh completion function file to #{share}/zsh/functions"]
]
end end
def patches def patches
@ -26,6 +24,12 @@ class GitNow < Formula
end end
end end
def caveats; <<-EOS
If `--zsh-completion` is specified, zsh completions are installed to:
#{share}/zsh/functions
EOS
end
end end
# This patch makes sure GNUtools are used on OSX. # This patch makes sure GNUtools are used on OSX.