git: a079f92b193c - stable/13 - ifconfig.8: Clean up -G & -g documentation
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 29 Jun 2022 08:19:15 UTC
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.