diff contrib/zsh_completion @ 4441:2d3379c598c1

Fix issue 563: error in _hg_commit in the contrib/zsh_completion script.
author Henri Precheur <henry@precheur.org>
date Sun, 20 May 2007 19:27:14 +0200
parents 729f354f3f09
children e21644bbf01e
line wrap: on
line diff
--- a/contrib/zsh_completion	Sat May 19 22:47:01 2007 +0200
+++ b/contrib/zsh_completion	Sun May 20 19:27:14 2007 +0200
@@ -380,7 +380,7 @@
   _arguments -s -w : $_hg_global_opts $_hg_pat_opts \
   '(--addremove -A)'{-A,--addremove}'[mark new/missing files as added/removed before committing]' \
   '(--message -m)'{-m+,--message}'[use <text> as commit message]:text:' \
-  '(--logfile -l)'{-l+,--logfile}'[read commit message from <file>]:log file:_file -g \*.txt' \
+  '(--logfile -l)'{-l+,--logfile}'[read commit message from <file>]:log file:_files -g \*.txt' \
   '(--date -d)'{-d+,--date}'[record datecode as commit date]:date code:' \
   '(--user -u)'{-u+,--user}'[record user as commiter]:user:' \
   '*:file:_hg_files'