about summary refs log tree commit diff
path: root/Completion/Unix/Command/_getfacl
blob: 15be06a1cb67caf509d471da62b56c1bef0cc1f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#compdef getfacl getfacl.exe

if _pick_variant cygwin=cygwin unix --version; then
# cygwin 1.5.25
_arguments -s -S \
  '(--all -a)'{-a,--all}'[display the filename, owner, group, and ACL of the file]' \
  '(--dir -d)'{-d,--dir}'[display the filename, owner, group, and default ACL of the directory]' \
  '(--noname -n)'{-n,--noname}'[display user and group IDs instead of names]' \
  '(- *)'{-h,--help}'[display help information]' \
  '(- *)'{-v,--version}'[display version information]' \
  '*: :_files'
else
_arguments -s -S \
  '(-a --access)'{-a,--access}'[display the file access control list only]' \
  '(-d --default)'{-d,--default}'[display the default access control list only]' \
  '(-c --omit-header)'{-c,--omit-header}"[don't display the comment header]" \
  '(-e --all-effective)'{-e,--all-effective}'[print all effective rights]' \
  '(-E --no-effective)'{-E,--no-effective}'[print no effective rights]' \
  '(-s --skip-base)'{-s,--skip-base}'[skip files that only have the base entries]' \
  '(-R --recursive)'{-R,--recursive}'[recurse into subdirectories]' \
  '(-L --logical)'{-L,--logical}'[logical walk, follow symbolic links]' \
  '(-P --physical)'{-P,--physical}"[physical walk, don't follow symbolic links]" \
  '(-t --tabular)'{-t,--tabular}'[use tabular output format]' \
  '(-n --numeric)'{-n,--numeric}'[print numeric user/group identifiers]' \
  '(-p --absolute-names)'{-p,--absolute-names}"[don't strip leading '/' in pathnames]" \
  '(- *)'{-v,--version}'[display version information]' \
  '(- *)'{-h,--help}'[display help information]' \
  '*: :_files'
fi