comparison contrib/zsh_completion @ 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
comparison
equal deleted inserted replaced
40334:4c9418e3a7d3 40335:01bdf7294274
551 } 551 }
552 552
553 _hg_cmd_bundle() { 553 _hg_cmd_bundle() {
554 _arguments -s -S : $_hg_global_opts $_hg_remote_opts \ 554 _arguments -s -S : $_hg_global_opts $_hg_remote_opts \
555 '(--force -f)'{-f,--force}'[run even when the destination is unrelated]' \ 555 '(--force -f)'{-f,--force}'[run even when the destination is unrelated]' \
556 '(2)*--base[a base changeset assumed to be available at the destination]:revision:_hg_labels' \ 556 '(2)*--base=[a base changeset assumed to be available at the destination]:revision:_hg_labels' \
557 '*'{-b+,--branch=}'[a specific branch you would like to bundle]:branch:_hg_branches' \ 557 '*'{-b+,--branch=}'[a specific branch you would like to bundle]:branch:_hg_branches' \
558 '*'{-r+,--rev=}'[a changeset intended to be added to the destination]:revision:_hg_labels' \ 558 '*'{-r+,--rev=}'[a changeset intended to be added to the destination]:revision:_hg_labels' \
559 '(--all -a)'{-a,--all}'[bundle all changesets in the repository]' \ 559 '(--all -a)'{-a,--all}'[bundle all changesets in the repository]' \
560 '--type[bundle compression type to use (default: bzip2)]:bundle type' \ 560 '(--type -t)'{-t+,--type=}'[bundle compression type to use (default: bzip2)]:bundle type' \
561 ':output file:_files' \ 561 ':output file:_files' \
562 ':destination repository:_files -/' 562 ':destination repository:_files -/'
563 } 563 }
564 564
565 _hg_cmd_cat() { 565 _hg_cmd_cat() {