mirror of
				git://git.code.sf.net/p/zsh/code
				synced 2025-10-31 06:00:54 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			268 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			268 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #autoload
 | |
| 
 | |
| local __gopt
 | |
| 
 | |
| __gopt=()
 | |
| zparseopts -D -a __gopt 1 2 V J x
 | |
| 
 | |
| if comptags -R "$1"; then
 | |
|   if [[ $# -gt 3 ]]; then
 | |
|     _all_labels - "$__gopt[@]" "$@" || return 1
 | |
|   elif [[ $# -gt 1 ]]; then
 | |
|     _description "$__gopt[@]" "$@"
 | |
|   fi
 | |
|   return 0
 | |
| else
 | |
|   return 1
 | |
| fi
 |