From nobody Wed Jun 29 08:19:15 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 B5B198A74C4; Wed, 29 Jun 2022 08:19:16 +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 4LXvWS1wTcz4kMB; Wed, 29 Jun 2022 08:19:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656490756; 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=KXNyj11xtzO4DGYPwPF2a+tU4OywVb//zivnZv38OfM=; b=R8XOE9UTvDt4Yd3MHeRpTq1p0KZK4Tzax7OFMfVzPV78ZfJYjM/lqGkk6Np13MD32E+G8O Pl7tI3QSnyRW15qO1eAPaXf8pbCfncin4bHL2+O/xp7JBOLBNE2o75bF381pJLqGRpGMS9 ZVgFFTBoqkgEVG/nH/dk0BNASvaudqp3il+gjLpef8u3/OyPzQFkSuO7tfalqXBwbU2336 eg+GH1kdf0J5DQTj3thDPUmH+fzkApNWRULvRL3SsPdNS/8WGd4IuWhRVw/M17j1O8l9pq jKoPtl9r67T1RYBgMSv82X0GS1da+71Jde+yEHVbq4ZjcPrbOWTBpP93QD105Q== 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 DB3F76119; Wed, 29 Jun 2022 08:19:15 +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 25T8JFnA005048; Wed, 29 Jun 2022 08:19:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25T8JFrG005047; Wed, 29 Jun 2022 08:19:15 GMT (envelope-from git) Date: Wed, 29 Jun 2022 08:19:15 GMT Message-Id: <202206290819.25T8JFrG005047@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: a079f92b193c - stable/13 - ifconfig.8: Clean up -G & -g documentation 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: 0mp X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: a079f92b193cdb2d39dba039c8c1959d2e7fbc70 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656490756; 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=KXNyj11xtzO4DGYPwPF2a+tU4OywVb//zivnZv38OfM=; b=IvABKXpJ+asfnyc9b+JgWhpLaZETlzPjQ5akERwba9QeE4g3Bx3CMrEnQBoRE8XXhBCzem zFiclwr5pXwXzQhqqVfHLgheOIGlKhFO7/kN0YcLHZ6bQJT0cuQc6MfvP+ue61HvnIOodb gU4XUdg4NT9WPvUmxw9j3hw/ywYO5i9UahRunAQRwERa7ZXy83MOErVUHEkrl2YNNW0pil GWOGFA1QHJYnIHtahi9mx1AgPpubUlmkLsTwaazjVGR4/Ks4AjL+5+u5bjLfE5hEWGjX1o jjW3MHPd1K+oq+EysfKorGAzd161qqnFkmpyNlgF8poL4ziGBSnMwKv8ZHbNUg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656490756; a=rsa-sha256; cv=none; b=HTiTvKNgsAvuevG0OlK2uOja9csho5LqK3pMLzrIcs4X2Sg8uPW5r+O4a4lKAkaT6TL+pQ IfK6Oi77IlbU9ex4j7+GZCzdKGYLPyREfESOYs4bRDBDjKA6vzcmUZGoTjoW5B9G/15pOP KcehdZ523vTdatry5+pGcib72VI4ue8EoVLFmuNtMC6wrYG5jBEniRONdisFPMdxgQCp3m 5Daq8FHWG9X7YN4zjmv9tUROJViY97gHclVN9PMosxfRDaCVHRnawFRpEMzszV+FcUTEvO xdIdrDhWNG+ZlylQK0uC19hkdQoeWBBfl6hS///56R2MkYZPG7Oe5OySb5RZDA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by 0mp (doc, ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=a079f92b193cdb2d39dba039c8c1959d2e7fbc70 commit a079f92b193cdb2d39dba039c8c1959d2e7fbc70 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2022-03-30 11:28:03 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2022-06-29 08:08:32 +0000 ifconfig.8: Clean up -G & -g documentation MFC after: 2 weeks (cherry picked from commit 787599088b2022bc99e7e81fde53516fe3c18ea3) --- sbin/ifconfig/ifconfig.8 | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8 index 35d9771e0491..c8a61b520cab 100644 --- a/sbin/ifconfig/ifconfig.8 +++ b/sbin/ifconfig/ifconfig.8 @@ -182,6 +182,26 @@ Display subnet prefix in integer format, for example: .Dl prefixlen 64 .El .El +.It Fl G Ar groupname +Exclude members of the specified +.Ar groupname +from the output. +.Ar groupname . +.Pp +Only one option +.Fl G +should be specified as later override previous ones +.Ar groupname +may contain shell patterns in which case it should be quoted. +.It Fl g Ar groupname +Limit the output to the members of the specified +.Ar groupname . +.Pp +Only one option +.Fl g +should be specified as later override previous ones +.Ar groupname +may contain shell patterns in which case it should be quoted. .It Fl L Display address lifetime for IPv6 addresses as time offset string. .Pp @@ -301,22 +321,6 @@ If a protocol family is specified, .Nm will report only the details specific to that protocol family. .Pp -.Fl g -limits this to members of the specified group of interfaces, and -.Fl G -excludes members of the specified group from the list. -Both -.Fl g -and -.Fl G -flags may be specified to apply both conditions. -Only one option -.Fl g -should be specified as later override previous ones -(same for -.Fl G ) . -.Sy groupname -may contain shell patterns in which case it should be quoted. When no arguments are given, .Fl a is implied.