summary refs log tree commit diff
path: root/Completion/Unix/Command/_md5sum
blob: c881a4e6d08b63a83e5c0bd2ffdf95a0c81766f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#compdef md5sum gmd5sum

_arguments -S \
  '(-b --binary)'{-b,--binary}'[read in binary mode]' \
  '(-c --check)'{-c,--check}'[read MD5 sums from the FILEs and check them]' \
  '--tag[create a BSD-style checksum]' \
  '(-t --text)'{-t,--text}'[read in text mode]' \
  '(-q --quiet)'{-q,--quiet}"[don't print OK for each successfully verified file]" \
  '--status[no output, status code shows success]' \
  '--strict[exit non-zero for improperly formatted checksum lines]' \
  '(-w --warn)'{-w,--warn}'[warn about improperly formatted checksum lines]' \
  '--help[display help and exit]' \
  '--version[output version information and exit]' \
  '*:files:_files'