mirror of
				git://git.code.sf.net/p/zsh/code
				synced 2025-11-04 07:21:06 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			491 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
	
		
			491 B
		
	
	
	
		
			Text
		
	
	
	
	
	
#compdef rrdtool
 | 
						|
 | 
						|
_arguments \
 | 
						|
  ':rrdtool command:(create update updatev graph dump restore
 | 
						|
                   last lastupdate first help info fetch tune
 | 
						|
		   resize xport)' \
 | 
						|
  '*::subcmd:->subcmd' && return 0
 | 
						|
 | 
						|
case "$state" in
 | 
						|
    (subcmd)
 | 
						|
 | 
						|
  case "$words[1]" in
 | 
						|
      (help)
 | 
						|
      	_wanted -V 'subcommands' expl 'subcommand' compadd \
 | 
						|
	create update updatev graph dump restore last lastupdate \
 | 
						|
	first help info fetch tune resize xport
 | 
						|
	;;
 | 
						|
      (*)
 | 
						|
    	_files
 | 
						|
    	;;
 | 
						|
  esac
 | 
						|
  ;;
 | 
						|
esac
 |