mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 21:05:08 +00:00
ping: main.c: Consistent use of white space/tabs
If a user has tabs set at a value other than 8, the output of the usage may not be consistently aligned. % tabs -2 Before: % ping usage: ping [-4AaDdfHnoQqRrv] [-C pcp] [-c count] [-G sweepmaxsize] [-g sweepminsize] [-h sweepincrsize] [-i wait] [-l preload] [-M mask | time] [-m ttl] [-P policy] [-p pattern] [-S src_addr] [-s packetsize] [-t timeout] [-W waittime] [-z tos] IPv4-host ping [-4AaDdfHLnoQqRrv] [-C pcp] [-c count] [-I iface] [-i wait] [-l preload] [-M mask | time] [-m ttl] [-P policy] [-p pattern] [-S src_addr] [-s packetsize] [-T ttl] [-t timeout] [-W waittime] [-z tos] IPv4-mcast-group ping [-6AaDdfHnNoOquvyY] [-b bufsiz] [-c count] [-e gateway] [-I interface] [-i wait] [-k addrtype] [-l preload] [-m hoplimit] [-p pattern] [-P policy] [-S sourceaddr] [-s packetsize] [-t timeout] [-W waittime] [-z tclass] [IPv6-hops ...] IPv6-host After: % ping usage: ping [-4AaDdfHnoQqRrv] [-C pcp] [-c count] [-G sweepmaxsize] [-g sweepminsize] [-h sweepincrsize] [-i wait] [-l preload] [-M mask | time] [-m ttl] [-P policy] [-p pattern] [-S src_addr] [-s packetsize] [-t timeout] [-W waittime] [-z tos] IPv4-host ping [-4AaDdfHLnoQqRrv] [-C pcp] [-c count] [-I iface] [-i wait] [-l preload] [-M mask | time] [-m ttl] [-P policy] [-p pattern] [-S src_addr] [-s packetsize] [-T ttl] [-t timeout] [-W waittime] [-z tos] IPv4-mcast-group ping [-6AaDdfHnNoOquvyY] [-b bufsiz] [-c count] [-e gateway] [-I interface] [-i wait] [-k addrtype] [-l preload] [-m hoplimit] [-p pattern] [-P policy] [-S sourceaddr] [-s packetsize] [-t timeout] [-W waittime] [-z tclass] [IPv6-hops ...] IPv6-host Reviewed by: markj MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D37246
This commit is contained in:
parent
0657b2325d
commit
526e8a7d5d
|
@ -180,48 +180,48 @@ usage(void)
|
||||||
#ifdef INET
|
#ifdef INET
|
||||||
"\tping [-4AaDdfHnoQqRrv] [-C pcp] [-c count] "
|
"\tping [-4AaDdfHnoQqRrv] [-C pcp] [-c count] "
|
||||||
"[-G sweepmaxsize]\n"
|
"[-G sweepmaxsize]\n"
|
||||||
" [-g sweepminsize] [-h sweepincrsize] [-i wait] "
|
"\t [-g sweepminsize] [-h sweepincrsize] [-i wait] "
|
||||||
"[-l preload]\n"
|
"[-l preload]\n"
|
||||||
" [-M mask | time] [-m ttl] "
|
"\t [-M mask | time] [-m ttl] "
|
||||||
#ifdef IPSEC
|
#ifdef IPSEC
|
||||||
"[-P policy] "
|
"[-P policy] "
|
||||||
#endif
|
#endif
|
||||||
"[-p pattern] [-S src_addr] \n"
|
"[-p pattern] [-S src_addr] \n"
|
||||||
" [-s packetsize] [-t timeout] [-W waittime] [-z tos] "
|
"\t [-s packetsize] [-t timeout] [-W waittime] [-z tos] "
|
||||||
"IPv4-host\n"
|
"IPv4-host\n"
|
||||||
"\tping [-4AaDdfHLnoQqRrv] [-C pcp] [-c count] [-I iface] "
|
"\tping [-4AaDdfHLnoQqRrv] [-C pcp] [-c count] [-I iface] "
|
||||||
"[-i wait]\n"
|
"[-i wait]\n"
|
||||||
" [-l preload] [-M mask | time] [-m ttl] "
|
"\t [-l preload] [-M mask | time] [-m ttl] "
|
||||||
#ifdef IPSEC
|
#ifdef IPSEC
|
||||||
"[-P policy] "
|
"[-P policy] "
|
||||||
#endif
|
#endif
|
||||||
"[-p pattern]\n"
|
"[-p pattern]\n"
|
||||||
" [-S src_addr] [-s packetsize] [-T ttl] [-t timeout] [-W waittime]\n"
|
"\t [-S src_addr] [-s packetsize] [-T ttl] [-t timeout] [-W waittime]\n"
|
||||||
" [-z tos] IPv4-mcast-group\n"
|
"\t [-z tos] IPv4-mcast-group\n"
|
||||||
#endif /* INET */
|
#endif /* INET */
|
||||||
#ifdef INET6
|
#ifdef INET6
|
||||||
"\tping [-6AaDd"
|
"\tping [-6AaDd"
|
||||||
#if defined(IPSEC) && !defined(IPSEC_POLICY_IPSEC)
|
#if defined(IPSEC) && !defined(IPSEC_POLICY_IPSEC)
|
||||||
"E"
|
"E"
|
||||||
#endif
|
#endif
|
||||||
"fHnNoOq"
|
"fHnNoOq"
|
||||||
#ifdef IPV6_USE_MIN_MTU
|
#ifdef IPV6_USE_MIN_MTU
|
||||||
"u"
|
"u"
|
||||||
#endif
|
#endif
|
||||||
"vyY"
|
"vyY"
|
||||||
#if defined(IPSEC) && !defined(IPSEC_POLICY_IPSEC)
|
#if defined(IPSEC) && !defined(IPSEC_POLICY_IPSEC)
|
||||||
"Z"
|
"Z"
|
||||||
#endif
|
#endif
|
||||||
"] "
|
"] "
|
||||||
"[-b bufsiz] [-c count] [-e gateway]\n"
|
"[-b bufsiz] [-c count] [-e gateway]\n"
|
||||||
" [-I interface] [-i wait] [-k addrtype] [-l preload] "
|
"\t [-I interface] [-i wait] [-k addrtype] [-l preload] "
|
||||||
"[-m hoplimit]\n"
|
"[-m hoplimit]\n"
|
||||||
" [-p pattern]"
|
"\t [-p pattern]"
|
||||||
#if defined(IPSEC) && defined(IPSEC_POLICY_IPSEC)
|
#if defined(IPSEC) && defined(IPSEC_POLICY_IPSEC)
|
||||||
" [-P policy]"
|
" [-P policy]"
|
||||||
#endif
|
#endif
|
||||||
" [-S sourceaddr] [-s packetsize] [-t timeout]\n"
|
" [-S sourceaddr] [-s packetsize] [-t timeout]\n"
|
||||||
" [-W waittime] [-z tclass] [IPv6-hops ...] IPv6-host\n"
|
"\t [-W waittime] [-z tclass] [IPv6-hops ...] IPv6-host\n"
|
||||||
#endif /* INET6 */
|
#endif /* INET6 */
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue