#compdef getfacl

_arguments -C \
  '(-a)--all[display the filename, the owner, the group, and the ACL of the file]' \
  '(--all)-a[display the filename, the owner, the group, and the ACL of the file]' \
  '(-d)--dir[display the filename, the owner, the group, and the default ACL of the directory, if it exists]' \
  '(--dir)-d[display the filename, the owner, the group, and the default ACL of the directory, if it exists]' \
  '(-h)--help[output usage information and exit]' \
  '(--help)-h[output usage information and exit]' \
  '(-n)--noname[display user and group IDs instead of names]' \
  '(--noname)-n[display user and group IDs instead of names]' \
  '(-v)--version[output version information and exit]' \
  '(--version)-v[output version information and exit]' \
  '*:file:_files'
