From 4fdb6c2352f84c79d3886cb090f252d4ada9a3dd Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 16 Apr 2009 09:25:34 +0000 Subject: Tomasz Pala: users/14030,14031,14032: Linux completion updates --- Completion/Linux/Command/_ipset | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'Completion/Linux/Command/_ipset') 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) -- cgit 1.4.1