Mercurial > hg
changeset 40335:01bdf7294274
zsh_completion: fix a couple of flags still not being perfect
Differential Revision: https://phab.mercurial-scm.org/D5141
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Wed, 17 Oct 2018 22:31:34 +0800 |
parents | 4c9418e3a7d3 |
children | d365e2b7aa2a |
files | contrib/zsh_completion |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/zsh_completion Wed Oct 17 22:27:10 2018 +0800 +++ b/contrib/zsh_completion Wed Oct 17 22:31:34 2018 +0800 @@ -553,11 +553,11 @@ _hg_cmd_bundle() { _arguments -s -S : $_hg_global_opts $_hg_remote_opts \ '(--force -f)'{-f,--force}'[run even when the destination is unrelated]' \ - '(2)*--base[a base changeset assumed to be available at the destination]:revision:_hg_labels' \ + '(2)*--base=[a base changeset assumed to be available at the destination]:revision:_hg_labels' \ '*'{-b+,--branch=}'[a specific branch you would like to bundle]:branch:_hg_branches' \ '*'{-r+,--rev=}'[a changeset intended to be added to the destination]:revision:_hg_labels' \ '(--all -a)'{-a,--all}'[bundle all changesets in the repository]' \ - '--type[bundle compression type to use (default: bzip2)]:bundle type' \ + '(--type -t)'{-t+,--type=}'[bundle compression type to use (default: bzip2)]:bundle type' \ ':output file:_files' \ ':destination repository:_files -/' }