summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sbin/ping6/ping6.84
-rw-r--r--sbin/ping6/ping6.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/sbin/ping6/ping6.8 b/sbin/ping6/ping6.8
index eb3251c..f543102 100644
--- a/sbin/ping6/ping6.8
+++ b/sbin/ping6/ping6.8
@@ -40,9 +40,9 @@ packets to network hosts
.Sh SYNOPSIS
.Nm
.\" without ipsec, or new ipsec
-.Op Fl dfHnNqRtvw
+.Op Fl dfHnNqRtvwW
.\" old ipsec
-.\" .Op Fl AdEfnNqRtvw
+.\" .Op Fl AdEfnNqRtvwW
.Bk -words
.Op Fl a Ar addrtype
.Ek
diff --git a/sbin/ping6/ping6.c b/sbin/ping6/ping6.c
index 7507332..1259b4a 100644
--- a/sbin/ping6/ping6.c
+++ b/sbin/ping6/ping6.c
@@ -2692,7 +2692,11 @@ void
usage()
{
(void)fprintf(stderr,
- "usage: ping6 [-dfHmnNqvwW"
+ "usage: ping6 [-dfH"
+#ifdef IPV6_USE_MIN_MTU
+ "m"
+#endif
+ "nNqtvwW"
#ifdef IPV6_REACHCONF
"R"
#endif
OpenPOWER on IntegriCloud