iproute2: ss - fix missing parameters

Signed-off-by: Petr Sabata <contyk@redhat.com>
This commit is contained in:
Petr Sabata 2011-10-06 14:45:32 +02:00 committed by Stephen Hemminger
parent 8555902504
commit 583de1498e
2 changed files with 6 additions and 4 deletions

View File

@ -85,12 +85,12 @@ Display Unix domain sockets (alias for -f unix).
Display sockets of type FAMILY. Display sockets of type FAMILY.
Currently the following families are supported: unix, inet, inet6, link, netlink. Currently the following families are supported: unix, inet, inet6, link, netlink.
.TP .TP
.B \-A QUERY, \-\-query=QUERY .B \-A QUERY, \-\-query=QUERY, \-\-socket=QUERY
List of socket tables to dump, separated by commas. The following identifiers List of socket tables to dump, separated by commas. The following identifiers
are understood: all, inet, tcp, udp, raw, unix, packet, netlink, unix_dgram, are understood: all, inet, tcp, udp, raw, unix, packet, netlink, unix_dgram,
unix_stream, packet_raw, packet_dgram. unix_stream, packet_raw, packet_dgram.
.TP .TP
.B \-D FILE .B \-D FILE, \-\-diag=FILE
Do not display anything, just dump raw information about TCP sockets to FILE after applying filters. If FILE is - stdout is used. Do not display anything, just dump raw information about TCP sockets to FILE after applying filters. If FILE is - stdout is used.
.TP .TP
.B \-F FILE, \-\-filter=FILE .B \-F FILE, \-\-filter=FILE

View File

@ -2416,9 +2416,10 @@ static void _usage(FILE *dest)
" -x, --unix display only Unix domain sockets\n" " -x, --unix display only Unix domain sockets\n"
" -f, --family=FAMILY display sockets of type FAMILY\n" " -f, --family=FAMILY display sockets of type FAMILY\n"
"\n" "\n"
" -A, --query=QUERY\n" " -A, --query=QUERY, --socket=QUERY\n"
" QUERY := {all|inet|tcp|udp|raw|unix|packet|netlink}[,QUERY]\n" " QUERY := {all|inet|tcp|udp|raw|unix|packet|netlink}[,QUERY]\n"
"\n" "\n"
" -D, --diag=FILE Dump raw information about TCP sockets to FILE\n"
" -F, --filter=FILE read filter information from FILE\n" " -F, --filter=FILE read filter information from FILE\n"
" FILTER := [ state TCP-STATE ] [ EXPRESSION ]\n" " FILTER := [ state TCP-STATE ] [ EXPRESSION ]\n"
); );
@ -2486,8 +2487,9 @@ static const struct option long_opts[] = {
{ "packet", 0, 0, '0' }, { "packet", 0, 0, '0' },
{ "family", 1, 0, 'f' }, { "family", 1, 0, 'f' },
{ "socket", 1, 0, 'A' }, { "socket", 1, 0, 'A' },
{ "query", 1, 0, 'A' },
{ "summary", 0, 0, 's' }, { "summary", 0, 0, 's' },
{ "diag", 0, 0, 'D' }, { "diag", 1, 0, 'D' },
{ "filter", 1, 0, 'F' }, { "filter", 1, 0, 'F' },
{ "version", 0, 0, 'V' }, { "version", 0, 0, 'V' },
{ "help", 0, 0, 'h' }, { "help", 0, 0, 'h' },