mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-27 16:50:58 +01:00
23303: use _guard.
This commit is contained in:
parent
ad2d19e2e6
commit
ab159e42d8
2 changed files with 6 additions and 2 deletions
|
|
@ -1,3 +1,7 @@
|
|||
2007-04-21 Clint Adams <clint@zsh.org>
|
||||
|
||||
* 23303: Completion/Unix/Command/_date: use _guard.
|
||||
|
||||
2007-04-19 Clint Adams <clint@zsh.org>
|
||||
|
||||
* 23301: Paul Ackersviller: Functions/Misc/add-zsh-hook:
|
||||
|
|
|
|||
|
|
@ -43,6 +43,6 @@ else
|
|||
fi
|
||||
|
||||
_arguments \
|
||||
"$args[@]" \
|
||||
'-u[display or set time in UTC]' \
|
||||
':format or date'
|
||||
': :_guard "^--*" "format or date"' \
|
||||
"$args[@]"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue