git-now: update options/caveats
Move the long path name out of the option description and add it to the caveats instead.
This commit is contained in:
parent
0107197ceb
commit
31898e19a4
1 changed files with 7 additions and 3 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue