pkt_buff: Change type of link_type field
[netsniff-ng.git] / flowtop.zsh
blobc85c0298ed7b1078097e4d9e01898781e61759a3
1 #compdef flowtop
3 # flowtop.zsh -- zsh completion function for flowtop
5 # Copyright (C) 2013 Hideo Hattori <hhatto.jp@gmail.com>
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License version 2 as
9 # published by the Free Software Foundation.
11 typeset -A opt_args
13 _arguments -s -S \
14 "(-4 --ipv4)"{-4,--ipv4}"[Show only IPv4 flows (default)]" \
15 "(-6 --ipv6)"{-6,--ipv6}"[Show only IPv6 flows (default)]" \
16 "(-T --tcp)"{-T,--tcp}"[Show only TCP flows (default)]" \
17 "(-U --udp)"{-U,--udp}"[Show only UDP flows]" \
18 "(-D --dccp)"{-D,--dccp}"[Show only DCCP flows]" \
19 "(-I --icmp)"{-I,--icmp}"[Show only ICMP/ICMPv6 flows]" \
20 "(-S --sctp)"{-S,--sctp}"[Show only SCTP flows]" \
21 "(-s --show-src)"{-s,--show-src}"[Also show source, not only dest]" \
22 "(-u --update)"{-u,--update}"[Update GeoIP databases]" \
23 {-v,--version}"[Print version and exit]:" \
24 {-h,--help}"[Print help and exit]:" \
25 "*::args:_gnu_generic"