HomeFreeBSD

ping: main.c: Consistent use of white space/tabs

Description

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

(cherry picked from commit 526e8a7d5db390d1cbf490d8e1e0b41e057d81bf)

Details

Provenance
jlduran_gmail.comAuthored on Nov 1 2022, 5:19 AM
markjCommitted on Nov 10 2022, 5:01 PM
Reviewer
markj
Differential Revision
D37246: ping: main.c: Consistent use of white space/tabs
Parents
rG294cb8bb3acc: ping: Remove a vestigial notdef
Branches
Unknown
Tags
Unknown