diff options
author | m0viefreak <m0viefreak.cm@googlemail.com> | 2013-10-20 19:41:04 +0200 |
---|---|---|
committer | Frank Terbeck <ft@bewatermyfriend.org> | 2013-10-21 17:39:57 +0200 |
commit | 2c1affc6c10fb59ed900d5dc5bf146a0b9851890 (patch) | |
tree | 2fca2e98c1975ba6e57d5791c221ba4451a8341b /Completion/Unix/Command | |
parent | 07ca60acf44a4cf1d08eed9279897a8060f862ef (diff) | |
download | zsh-2c1affc6c10fb59ed900d5dc5bf146a0b9851890.tar.gz zsh-2c1affc6c10fb59ed900d5dc5bf146a0b9851890.tar.xz zsh-2c1affc6c10fb59ed900d5dc5bf146a0b9851890.zip |
31856: _git: fix a few "undocumented" options
commit: '--null' is documented relink: '-h,--help' are never documented for subcommands but always exist verify-tag: '-v,--verbose' are documented with updated description diff: '--cumulative' is deprecated -> remove
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r-- | Completion/Unix/Command/_git | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index a75ce5c76..6f631bced 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -624,7 +624,6 @@ _git-commit () { reset_author_opt='(--author)--reset-author[make committer the author of the commit]' fi - # TODO: --null is an undocumented alias. # TODO: --interactive isn’t explicitly listed in the documentation. _arguments -w -S -s \ '(-a --all --interactive -o --only -i --include *)'{-a,--all}'[stage all modified and deleted paths]' \ @@ -2978,10 +2977,9 @@ _git-reflog () { (( $+functions[_git-relink] )) || _git-relink () { - # TODO: --help is undocumented. _arguments \ '--safe[stop if two objects with the same hash exist but have different sizes]' \ - '--help[display help]' \ + '(-)'{-h,--help}'[display usage information]' \ ': :_directories' \ ': :_directories' \ '*: :_directories' @@ -3419,9 +3417,8 @@ _git-show-branch () { (( $+functions[_git-verify-tag] )) || _git-verify-tag () { - # TODO: -v and --verbose are undocumented. _arguments -w -S -s \ - '(-v --verbose)'{-v,--verbose}'[output additional information]' \ + '(-v --verbose)'{-v,--verbose}'[print the contents of the tag object before validating it]' \ '*: :__git_tags' } @@ -5960,8 +5957,6 @@ __git_setup_diff_options () { '(-0 -1 -2 -3 --base --ours --theirs -c --cc --no-index)-0[omit diff output for unmerged entries]' '(-0 -1 -2 -3 --base --ours --theirs -c --cc --no-index)'{-c,--cc}'[compare "our branch", "their branch" and working tree files]' - # TODO: --cumulative is undocumented. - '--cumulative[undocumented]' # TODO: --output is undocumented. '--output[undocumented]:undocumented') } |