This patch adds -e (extended information) to route and -r/-e (show routing

tables/extended information) to netstat.
This makes them behave (more) like their GNU counterparts.
This commit is contained in:
Robert Griebl 2002-05-14 23:10:58 +00:00
parent 820098fd61
commit 8187bb4394

View File

@ -1281,11 +1281,13 @@
"221 foobar closing connection\n" "221 foobar closing connection\n"
#define netstat_trivial_usage \ #define netstat_trivial_usage \
"[-lantuwx]" "[-laenrtuwx]"
#define netstat_full_usage \ #define netstat_full_usage \
"-l display listening server sockets\n" \ "-l display listening server sockets\n" \
"-a display all sockets (default: connected)\n" \ "-a display all sockets (default: connected)\n" \
"-e display other/more information\n" \
"-n don't resolve names\n" \ "-n don't resolve names\n" \
"-r display routing table\n" \
"-t tcp sockets\n" \ "-t tcp sockets\n" \
"-u udp sockets\n" \ "-u udp sockets\n" \
"-w raw sockets\n" \ "-w raw sockets\n" \
@ -1450,7 +1452,8 @@
#define route_full_usage \ #define route_full_usage \
"Edit the kernel's routing tables.\n\n" \ "Edit the kernel's routing tables.\n\n" \
"Options:\n" \ "Options:\n" \
"\t-n\tDont resolve names." "\t-n\tDont resolve names.\n" \
"\t-e\tDisplay other/more information"
#define rpm2cpio_trivial_usage \ #define rpm2cpio_trivial_usage \
"package.rpm" "package.rpm"