zsh completion: add support for qfinish

This commit is contained in:
Augie Fackler 2011-12-12 11:54:22 -06:00
parent 31beaa1cd1
commit 551016898f

View File

@ -880,6 +880,12 @@ _hg_cmd_qdiff() {
'*:pattern:_hg_files'
}
_hg_cmd_qfinish() {
_arguments -s -w : $_hg_global_opts \
'(--all -a)'{-a,--all}'[finish all patches]' \
'*:patch:_hg_qapplied'
}
_hg_cmd_qfold() {
_arguments -s -w : $_hg_global_opts $_h_commit_opts \
'(--keep,-k)'{-k,--keep}'[keep folded patch files]' \