diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 3 | ||||
-rw-r--r-- | include/usage.h | 22 |
2 files changed, 25 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index e6ee3c95e..12a28d5be 100644 --- a/include/applets.h +++ b/include/applets.h | |||
@@ -386,6 +386,9 @@ | |||
386 | #ifdef BB_TR | 386 | #ifdef BB_TR |
387 | APPLET(tr, tr_main, _BB_DIR_USR_BIN) | 387 | APPLET(tr, tr_main, _BB_DIR_USR_BIN) |
388 | #endif | 388 | #endif |
389 | #ifdef BB_TRACEROUTE | ||
390 | APPLET(traceroute, traceroute_main, _BB_DIR_USR_BIN) | ||
391 | #endif | ||
389 | #ifdef BB_TRUE_FALSE | 392 | #ifdef BB_TRUE_FALSE |
390 | APPLET(true, true_main, _BB_DIR_BIN) | 393 | APPLET(true, true_main, _BB_DIR_BIN) |
391 | #endif | 394 | #endif |
diff --git a/include/usage.h b/include/usage.h index a19f0fe22..70dafd81c 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -1593,6 +1593,28 @@ | |||
1593 | "$ echo "gdkkn vnqkc" | tr [a-y] [b-z]\n" \ | 1593 | "$ echo "gdkkn vnqkc" | tr [a-y] [b-z]\n" \ |
1594 | "hello world\n" | 1594 | "hello world\n" |
1595 | 1595 | ||
1596 | #define traceroute_trivial_usage \ | ||
1597 | "[-dnrv] [-m max_ttl] [-p port#] [-q nqueries]\n\ | ||
1598 | [-s src_addr] [-t tos] [-w wait] host [data size]" | ||
1599 | #define traceroute_full_usage \ | ||
1600 | "trace the route ip packets follow going to \"host\"\n" \ | ||
1601 | "Options:\n" \ | ||
1602 | "\t-d\tset SO_DEBUG options to socket\n" \ | ||
1603 | "\t-n\tPrint hop addresses numerically rather than symbolically\n" \ | ||
1604 | "\t-r\tBypass the normal routing tables and send directly to a host\n" \ | ||
1605 | "\t-v\tVerbose output\n" \ | ||
1606 | "\t-m max_ttl\tSet the max time-to-live (max number of hops)\n" \ | ||
1607 | "\t-p port#\tSet the base UDP port number used in probes\n" \ | ||
1608 | "\t\t(default is 33434)\n" \ | ||
1609 | "\t-q nqueries\tSet the number of probes per ``ttl'' to nqueries\n" \ | ||
1610 | "\t\t(default is 3)\n" \ | ||
1611 | "\t-s src_addr\tUse the following IP address as the source address\n" \ | ||
1612 | "\t-t tos\tSet the type-of-service in probe packets to the following value\n" \ | ||
1613 | "\t\t(default 0)\n" \ | ||
1614 | "\t-w wait\tSet the time (in seconds) to wait for a response to a probe\n" \ | ||
1615 | "\t\t(default 3 sec.)." | ||
1616 | |||
1617 | |||
1596 | #define true_trivial_usage \ | 1618 | #define true_trivial_usage \ |
1597 | "" | 1619 | "" |
1598 | #define true_full_usage \ | 1620 | #define true_full_usage \ |