diff options
author | sandman <sandman@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-05-14 23:10:58 +0000 |
---|---|---|
committer | sandman <sandman@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-05-14 23:10:58 +0000 |
commit | 081b90962024a67a5b4ddfb78eba0709eac24bde (patch) | |
tree | 9e0c8cead5df0027c729d91805be8fc8c5e5614f | |
parent | 1d29bdb9bb3af139aa234e6e691b38bbfbbbbfa5 (diff) | |
download | busybox-w32-081b90962024a67a5b4ddfb78eba0709eac24bde.tar.gz busybox-w32-081b90962024a67a5b4ddfb78eba0709eac24bde.tar.bz2 busybox-w32-081b90962024a67a5b4ddfb78eba0709eac24bde.zip |
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.
git-svn-id: svn://busybox.net/trunk/busybox@4772 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r-- | include/usage.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/usage.h b/include/usage.h index d0f3dfc99..c24d71ebd 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -1281,11 +1281,13 @@ | |||
1281 | "221 foobar closing connection\n" | 1281 | "221 foobar closing connection\n" |
1282 | 1282 | ||
1283 | #define netstat_trivial_usage \ | 1283 | #define netstat_trivial_usage \ |
1284 | "[-lantuwx]" | 1284 | "[-laenrtuwx]" |
1285 | #define netstat_full_usage \ | 1285 | #define netstat_full_usage \ |
1286 | "-l display listening server sockets\n" \ | 1286 | "-l display listening server sockets\n" \ |
1287 | "-a display all sockets (default: connected)\n" \ | 1287 | "-a display all sockets (default: connected)\n" \ |
1288 | "-e display other/more information\n" \ | ||
1288 | "-n don't resolve names\n" \ | 1289 | "-n don't resolve names\n" \ |
1290 | "-r display routing table\n" \ | ||
1289 | "-t tcp sockets\n" \ | 1291 | "-t tcp sockets\n" \ |
1290 | "-u udp sockets\n" \ | 1292 | "-u udp sockets\n" \ |
1291 | "-w raw sockets\n" \ | 1293 | "-w raw sockets\n" \ |
@@ -1450,7 +1452,8 @@ | |||
1450 | #define route_full_usage \ | 1452 | #define route_full_usage \ |
1451 | "Edit the kernel's routing tables.\n\n" \ | 1453 | "Edit the kernel's routing tables.\n\n" \ |
1452 | "Options:\n" \ | 1454 | "Options:\n" \ |
1453 | "\t-n\tDont resolve names." | 1455 | "\t-n\tDont resolve names.\n" \ |
1456 | "\t-e\tDisplay other/more information" | ||
1454 | 1457 | ||
1455 | #define rpm2cpio_trivial_usage \ | 1458 | #define rpm2cpio_trivial_usage \ |
1456 | "package.rpm" | 1459 | "package.rpm" |