From nobody Wed Mar 30 13:01:26 2022 X-Original-To: dev-commits-src-main@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 DAEC71A41962; Wed, 30 Mar 2022 13:01:28 +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 4KT6533vLlz4Z9b; Wed, 30 Mar 2022 13:01:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648645288; 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=dXckUdeMAxWstAIGAjmpzC/knxzHPxEb7qTm3x1qziY=; b=nTIsZMpmu6OJ/d0bIKNzeazVKuqa084aCLaB/amhfoojAj51gG/7JhISOtBlK94pgEac5A dVRH1QEvY7NqKTnzhD8qw06Q7R3bP29nxhz8t5CXNv8CDB8uQJhWLjkqIZ2mjs8qL/bpnm WqiRUTNoeltmMm0NtzCFVxxNdd5bipSbNJ3IbgA5MGJbNKOMZOEQq6/ST1U9K7QWZwdDHa DoZXVX0x8ivIQ7Hf+IaaqXvpKMdTp7HT5b5/ipwFLzykujKRZWwSfA6F+64/lUmxVrqSZW 6fKWzcuQ6VQnIGMit//205XDHbwUWMRZl1sPXSiRNIji3KXdCqR3M9R7OCBUkg== 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 04C6213A9B; Wed, 30 Mar 2022 13:01:27 +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 22UD1QP9098671; Wed, 30 Mar 2022 13:01:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22UD1Qft098668; Wed, 30 Mar 2022 13:01:26 GMT (envelope-from git) Date: Wed, 30 Mar 2022 13:01:26 GMT Message-Id: <202203301301.22UD1Qft098668@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: 787599088b20 - main - ifconfig.8: Clean up -G & -g documentation List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 787599088b2022bc99e7e81fde53516fe3c18ea3 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648645288; 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=dXckUdeMAxWstAIGAjmpzC/knxzHPxEb7qTm3x1qziY=; b=P5DZs8attqtg7FfIyMrv9fUwNcZuQaQK7nhBqSYdDSFTw5X4Kq228LAqx7tlnhDI9mQri7 JGQuvV+WZMhYSHp9T5F/+t7U8AiJ6nBmZT5w/HmrlnnNV3ORv737AhS9LJdw9N14b8fG9G nV8xVKc4PMrN0DiplDWU7CC1Yfy7rJxziKrf9z9Aq1kybIbt4JIsq++jxT22gJ8f5TYmJe ut5ly5TmAGMLXmt3AqBLwqVIgZ7qzaTWzbub9k4BM2kqLq3BsyyuuwjEtyppvWlgXr/WG/ 0I812WkhKcpsKsx23zNXemxmOu2dRxIioXnmCXsCYkcoY05LmFmYh3AFJ9w3SA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648645288; a=rsa-sha256; cv=none; b=XWnxlisPg1d3WgIVGuBJRbw6lHbJtBQWCWRwU19YrWtZ2QzSFspR8eGb9/x5x4ahEj/eqJ Nico0mYW9F3BPHE1wrXNiteusDQFuvVImk2Ygsj+ymJc9yyYOD1YCVXOT6EwtscF++T7FI AMaJAq8qNhPcU5J3FW1c4cq6f+wRftrl31y1qNK8jVw+GUg5KuoKuQCO3mEE3gxnm1N5kF G3yg4nFvffIOHfh7GirgfLdyhME7b/Bb2Mg9dv1GDG0AS87cE6xoDCr3IGPJULpnecHuDV czVmbRwVGidTaZDoidy/v8XFy2nhXDdB75XMVKwXvG+J5bJv1j6161+0GrRztA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by 0mp (doc, ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=787599088b2022bc99e7e81fde53516fe3c18ea3 commit 787599088b2022bc99e7e81fde53516fe3c18ea3 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2022-03-30 11:28:03 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2022-03-30 12:58:35 +0000 ifconfig.8: Clean up -G & -g documentation MFC after: 2 weeks --- 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 e4f08185b7d3..f4c8570ef774 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.