mirror of
				git://git.code.sf.net/p/zsh/code
				synced 2025-10-31 06:00:54 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			29 lines
		
	
	
	
		
			1.3 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
	
		
			1.3 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
| #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 \
 | |
|   '--access[display the file access control list only]' \
 | |
|   '(-d --default)'{-d,--default}'[display the default access control list only]' \
 | |
|   '--omit-header[do not display the comment header]' \
 | |
|   '--all-effective[print all effective rights]' \
 | |
|   '--no-effective[print no effective rights]' \
 | |
|   '--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, do not follow symbolic links]' \
 | |
|   '--tabular[use tabular output format]' \
 | |
|   '--numeric[print numeric user/group identifiers]' \
 | |
|   '--absolute-names[don'"'"'t strip leading '"'"'/'"'"' in pathnames]' \
 | |
|   '--version[print version and exit]' \
 | |
|   '--help[this help text]' \
 | |
|   '*: :_files'
 | |
| fi
 |