1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-22 16:20:23 +02:00

43331: _diff3: Enhance positional argument descriptions (thanks, Oliver).

This commit is contained in:
Daniel Shahaf 2018-08-24 15:43:29 +00:00
parent 40d9681b62
commit 1c5fb91e71
2 changed files with 8 additions and 3 deletions

View file

@ -39,8 +39,8 @@ else
fi
_arguments -s -S $args \
'1:updated file:_files' \
'2:original file:_files' \
'3:updated file:_files' \
'1: : _wanted files expl "first updated file (${${(As.:.)opt_args[-L]}[1]:-mine})" _files' \
'2: : _wanted files expl "original file (${${(As.:.)opt_args[-L]}[2]:-old})" _files' \
'3: : _wanted files expl "second updated file (${${(As.:.)opt_args[-L]}[3]:-their})" _files' \
+ '(ed)' $ed