about summary refs log tree commit diff
path: root/Completion/Linux/Command/_ipset
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-04-16 09:25:34 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-04-16 09:25:34 +0000
commit4fdb6c2352f84c79d3886cb090f252d4ada9a3dd (patch)
tree91ce1e24d7b29ecefbf948563797a7f78b1a37fc /Completion/Linux/Command/_ipset
parent87a727ca39cef93e946c3f25e89c80dde5effae7 (diff)
downloadzsh-4fdb6c2352f84c79d3886cb090f252d4ada9a3dd.tar.gz
zsh-4fdb6c2352f84c79d3886cb090f252d4ada9a3dd.tar.xz
zsh-4fdb6c2352f84c79d3886cb090f252d4ada9a3dd.zip
Tomasz Pala: users/14030,14031,14032: Linux completion updates
Diffstat (limited to 'Completion/Linux/Command/_ipset')
-rw-r--r--Completion/Linux/Command/_ipset14
1 files changed, 12 insertions, 2 deletions
diff --git a/Completion/Linux/Command/_ipset b/Completion/Linux/Command/_ipset
index 36d269f2c..244cb8f22 100644
--- a/Completion/Linux/Command/_ipset
+++ b/Completion/Linux/Command/_ipset
@@ -11,7 +11,11 @@ _set_types () {
 		'iphash[Hash of IP addresses]' \
 		'nethash[Hash of network addresses]' \
 		'ipporthash[Hash of IP address and port pairs]' \
-		'iptree[Tree of IP addresses, optionally with timeout]'
+		'ipportiphash[Hash of IP address,port and IP address triples]' \
+		'ipportnethash[Hash of IP address,port and network address triples]' \
+		'iptree[Tree of IP addresses, optionally with timeout]' \
+		'iptreemap[Tree of IP addresses or networks]' \
+		'setlist[List of sets]'
 }
 
 if [[ $words[2] = (-q|--quiet) ]]; then
@@ -77,12 +81,18 @@ case $words[offset+2]; in
 	  nethash)
 		args=(	$hash )
 	  ;;
-	  ipporthash)
+	  ipporthash|ipportiphash|ipportnethash)
 		args=(	$from_to $hash )
 	  ;;
 	  iptree)
 	  	args=(	'--timeout[Timeout value for the entries in seconds (default 0)]:timeout' )
 	  ;;
+	  iptreemap)
+	  	args=(	'--gc[Garbage collection inverval (default 300 seconds)]:timeout' )
+	  ;;
+	  setlist)
+	  	args=(	'--size[Size of the new setlist (default 8)]:size' )
+	  ;;
 	esac
   ;;
   -T|--test)