aboutsummaryrefslogtreecommitdiffstats
path: root/mtu.c
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2008-12-29 17:12:53 +0200
committerTimo Teras <timo.teras@iki.fi>2008-12-29 17:12:53 +0200
commit721d7a15a87df48449f77241c45ad06a5570ba51 (patch)
tree3f5dff17a51d4a7c3abdc05560028074098bdde6 /mtu.c
parentdbe877cdca9a693462d776dd978592ed1068da0f (diff)
downloadpingu-721d7a15a87df48449f77241c45ad06a5570ba51.tar.bz2
pingu-721d7a15a87df48449f77241c45ad06a5570ba51.tar.xz
mtu: a bit more informative usage()
Diffstat (limited to 'mtu.c')
-rw-r--r--mtu.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/mtu.c b/mtu.c
index 1ef1bce..8e03c07 100644
--- a/mtu.c
+++ b/mtu.c
@@ -20,7 +20,13 @@ static void usage(void)
"usage: mtu -i <mtu-size> <host>\n"
" mtu -I <host>\n"
" mtu -d <host>\n"
- " mtu -D <host>\n");
+ " mtu -D <host>\n"
+ "\n"
+ " -i <mtu-size> Inject <mtu-size> as PMTU to <host>\n"
+ " -I Inject local PMTU as PMTU to <host>\n"
+ " -d Discover PMTU to <host>\n"
+ " -D Discover PMTU to <host> and assign it to interface MTU\n"
+ "\n");
exit(3);
}