summaryrefslogtreecommitdiff
path: root/flowtop.zsh
blob: c43074854368412c88259d3bc786fc33290b57a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#compdef flowtop
#
# flowtop.zsh -- zsh completion function for flowtop
#
# Copyright (C) 2013 Hideo Hattori <hhatto.jp@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.

typeset -A opt_args

_arguments -s -S \
    "(-4 --ipv4)"{-4,--ipv4}"[Show only IPv4 flows (default)]" \
    "(-6 --ipv6)"{-6,--ipv6}"[Show only IPv6 flows (default)]" \
    "(-T --tcp)"{-T,--tcp}"[Show only TCP flows (default)]" \
    "(-U --udp)"{-U,--udp}"[Show only UDP flows]" \
    "(-D --dccp)"{-D,--dccp}"[Show only DCCP flows]" \
    "(-I --icmp)"{-I,--icmp}"[Show only ICMP/ICMPv6 flows]" \
    "(-S --sctp)"{-S,--sctp}"[Show only SCTP flows]" \
    "(-n --no-dns)"{-n,--no-dns}"[Don't perform hostname lookup]" \
    "(-G --no-geoip)"{-G,--no-geoip}"[Don't perform GeoIPlookup]" \
    "(-s --show-src)"{-s,--show-src}"[Also show source, not only dest]" \
    "(-b --bits)"{-b,--bits}"[Show rates in bits/s instead of bytes/s]" \
    "(-u --update)"{-u,--update}"[Update GeoIP databases]" \
    "(-t --interval)"{-t,--interval}"[Refresh time in seconds (def: 1s)]:interval:_gnu_generic" \
    {-v,--version}"[Print version and exit]:" \
    {-h,--help}"[Print help and exit]:" \
    "*::args:_gnu_generic"
>-0/+34 2016-07-19greybus: arche-platform: Add support for init-off featureVaibhav Hiremath1-14/+16 2016-07-19greybus: connection: drop the svc quiescing operationJohan Hovold4-64/+0 2016-07-19greybus: sdio: add switch voltage operationRui Miguel Silva1-0/+6 2016-07-19greybus: sdio: convert vdd kernel values to greybusRui Miguel Silva1-1/+8 2016-07-19greybus: bootrom: Use "s2l" instead of boot stage in package nameViresh Kumar1-3/+10 2016-07-19greybus: timesync: Bugfix ping should not result in -EAGAINBryan O'Donoghue1-1/+1 2016-07-18greybus: greybus_protocols.h: convert __u32 to __le32Bryan O'Donoghue1-4/+4 2016-07-18greybus: greybus_protocols.h/es2: Ensure __le32 is used not u32Bryan O'Donoghue2-4/+8 2016-07-17greybus: camera: Update CSI config parametersJacopo Mondi