From nobody Thu Nov 03 14:39:50 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N35xy47sPz4h8wb; Thu, 3 Nov 2022 14:39:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N35xy3HtVz3flg; Thu, 3 Nov 2022 14:39:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667486390; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3S4EsCHc9Q1fe1mtoFLPH4fsL8R0Yw1QFfRshKkkQoE=; b=YHG1waO3XiDMTCqSA4VCYCzqiRtNhQ96fObt9v/ZU+cFFhKZ+LUo8pLRtg2SVpcPMZhaee mFVVYTeD+2HdS0IgT2btWhQaD+NEC79DUdQn8KV1jGnxz58RvpHqF4FeLhjYfDUR2XJ3Wd IOXrpYA8SvtuW5/LM4lMhMXAbF5ie1LGjm3tLQJ8927yc/3ENFAmzNb3S0F+c/lHTYc2iz 5q2FdcFf4AfDKM/uP2/uobP1liecfAE8mL984Ktnhp90pkcnZn76U/71lHLlbRkE8B5reA bQClZuGuD4mEw1sqsIs0EHY33x8+bFy0yELc0ORaM6mPQQoAneEliz4UYM0HWw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4N35xy25mhzfbx; Thu, 3 Nov 2022 14:39:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2A3EdoM9089485; Thu, 3 Nov 2022 14:39:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2A3EdoVY089484; Thu, 3 Nov 2022 14:39:50 GMT (envelope-from git) Date: Thu, 3 Nov 2022 14:39:50 GMT Message-Id: <202211031439.2A3EdoVY089484@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 526e8a7d5db3 - main - ping: main.c: Consistent use of white space/tabs List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 526e8a7d5db390d1cbf490d8e1e0b41e057d81bf Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667486390; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3S4EsCHc9Q1fe1mtoFLPH4fsL8R0Yw1QFfRshKkkQoE=; b=j9NzdY3bjzLLOifamZIqV/KzkXRAWPpIkHbjpNQgL+uIoVnx2CK+Hpdpk8stccQx3s7ako x2xkFT/DKb7CM7WpH0WewMFjKJWco7pEf0rMjmsnx6fieoo81RtQV5SSDIlGKdz5jYyhBh PYNu8moH10Wu28Sp9WZMP1Ugcj9t7dU35CBw0hmJcNH6O78z+fWTS9lk33WOtKK+4+qMDD oQG6pN5nc4DCZVFOB4VcH3XJFri6q5JUfORi5yKYk36PMvWxUBPIBurdrkVzqRy0sl6DFK /7MGxUpBvnvVIaHKJneOquPl78gl4+POpk/DHnxJARed9mCuYAd4+5fBLzcAfw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667486390; a=rsa-sha256; cv=none; b=l/KsbSZZ1MA7k8vbvVYRM5zkoFKCh7HrBC78tLMjMqFgUCz9udcSxZMbzKhGBeGK7yIB7/ UbfYbEoKbx1A2kKoZhUOkJuRVY+AZHxhfHseJ8tA8hFmsxgkUIiXiNwtKoAJ/hDldCUXJp 1t4uX0ppzcjlYN5v0V1U9vqf5dujEf74grhvkNpwTwVwTUckSTsKONjM1fGzn7p9A6rA6I YFEdB1fYQWJtfBpMw/hmrP17d50E8nEBMjydcWEyJigfLI5ZM+UVaMkfbK5PAjckifXaCh f8D6YzISJhfRY6jejLrghJVgAlvmtP8fYStvkxaN8SXP6TNfgb9K00irfgEKJw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=526e8a7d5db390d1cbf490d8e1e0b41e057d81bf commit 526e8a7d5db390d1cbf490d8e1e0b41e057d81bf Author: Jose Luis Duran AuthorDate: 2022-11-01 05:19:22 +0000 Commit: Mark Johnston CommitDate: 2022-11-03 14:39:32 +0000 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 --- sbin/ping/main.c | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/sbin/ping/main.c b/sbin/ping/main.c index 11fa17b5ce2d..fce58e05bd2f 100644 --- a/sbin/ping/main.c +++ b/sbin/ping/main.c @@ -180,48 +180,48 @@ usage(void) #ifdef INET "\tping [-4AaDdfHnoQqRrv] [-C pcp] [-c count] " "[-G sweepmaxsize]\n" - " [-g sweepminsize] [-h sweepincrsize] [-i wait] " + "\t [-g sweepminsize] [-h sweepincrsize] [-i wait] " "[-l preload]\n" - " [-M mask | time] [-m ttl] " + "\t [-M mask | time] [-m ttl] " #ifdef IPSEC "[-P policy] " #endif "[-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" "\tping [-4AaDdfHLnoQqRrv] [-C pcp] [-c count] [-I iface] " "[-i wait]\n" - " [-l preload] [-M mask | time] [-m ttl] " + "\t [-l preload] [-M mask | time] [-m ttl] " #ifdef IPSEC "[-P policy] " #endif "[-p pattern]\n" - " [-S src_addr] [-s packetsize] [-T ttl] [-t timeout] [-W waittime]\n" - " [-z tos] IPv4-mcast-group\n" + "\t [-S src_addr] [-s packetsize] [-T ttl] [-t timeout] [-W waittime]\n" + "\t [-z tos] IPv4-mcast-group\n" #endif /* INET */ #ifdef INET6 - "\tping [-6AaDd" + "\tping [-6AaDd" #if defined(IPSEC) && !defined(IPSEC_POLICY_IPSEC) - "E" + "E" #endif - "fHnNoOq" + "fHnNoOq" #ifdef IPV6_USE_MIN_MTU - "u" + "u" #endif - "vyY" + "vyY" #if defined(IPSEC) && !defined(IPSEC_POLICY_IPSEC) - "Z" + "Z" #endif "] " - "[-b bufsiz] [-c count] [-e gateway]\n" - " [-I interface] [-i wait] [-k addrtype] [-l preload] " - "[-m hoplimit]\n" - " [-p pattern]" + "[-b bufsiz] [-c count] [-e gateway]\n" + "\t [-I interface] [-i wait] [-k addrtype] [-l preload] " + "[-m hoplimit]\n" + "\t [-p pattern]" #if defined(IPSEC) && defined(IPSEC_POLICY_IPSEC) - " [-P policy]" + " [-P policy]" #endif - " [-S sourceaddr] [-s packetsize] [-t timeout]\n" - " [-W waittime] [-z tclass] [IPv6-hops ...] IPv6-host\n" + " [-S sourceaddr] [-s packetsize] [-t timeout]\n" + "\t [-W waittime] [-z tclass] [IPv6-hops ...] IPv6-host\n" #endif /* INET6 */ );