git: 787599088b20 - main - ifconfig.8: Clean up -G & -g documentation

From: Mateusz Piotrowski <0mp_at_FreeBSD.org>
Date: Wed, 30 Mar 2022 13:01:26 UTC
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.