mirror of
https://github.com/zsh-users/zsh
synced 2024-10-01 21:54:34 +00:00
23850: complete for GNU md5sum instead.
This commit is contained in:
parent
a5203292f3
commit
b0f8a1eefa
|
@ -1,5 +1,8 @@
|
|||
2007-09-28 Clint Adams <clint@zsh.org>
|
||||
|
||||
* 23850: Completion/Unix/Command/_md5sum: complete for GNU md5sum
|
||||
instead.
|
||||
|
||||
* Jesse Weinstein: 23848: Completion/Unix/Command/_md5sum:
|
||||
completion for md5sum.
|
||||
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
#compdef md5sum
|
||||
|
||||
_arguments -S \
|
||||
"-v[verbose, print file names when checking]" \
|
||||
"-b[read files in binary mode]" \
|
||||
"(*)-c[check message digests (default is generate)]:md5 digest file:_files -g \*.md5" \
|
||||
"(-)*:file to digest:_files"
|
||||
|
||||
|
||||
'(-b --binary)'{-b,--binary}'[read in binary mode]' \
|
||||
'(-c --check)'{-c,--check}'[read MD5 sums from the FILEs and check them]' \
|
||||
'(-t --text)'{-t,--text}'[read in text mode]' \
|
||||
'--status[no output, status code shows success]' \
|
||||
'(-w --warn)'{-w,--warn}'[warn about improperly formatted checksum lines]' \
|
||||
'--help[display help and exit]' \
|
||||
'--version[output version information and exit]' \
|
||||
'*:files:_files'
|
||||
|
|
Loading…
Reference in a new issue