This patch adds -e (extended information) to route and -r/-e (show routing
authorRobert Griebl <griebl@gmx.de>
Tue, 14 May 2002 23:10:58 +0000 (23:10 -0000)
committerRobert Griebl <griebl@gmx.de>
Tue, 14 May 2002 23:10:58 +0000 (23:10 -0000)
tables/extended information) to netstat.
This makes them behave (more) like their GNU counterparts.

include/usage.h

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