git: 3087eb52222c - stable/13 - ifconfig.8: Clean up documentation of -a, -d, and -u
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 29 Jun 2022 08:19:14 UTC
The branch stable/13 has been updated by 0mp (doc, ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=3087eb52222c386c355cd5d17c5803c235cd0200 commit 3087eb52222c386c355cd5d17c5803c235cd0200 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2022-03-30 10:54:20 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2022-06-29 08:06:20 +0000 ifconfig.8: Clean up documentation of -a, -d, and -u MFC after: 2 weeks (cherry picked from commit 0625c313913b59f17aba11f77ef30032f68ed089) --- sbin/ifconfig/ifconfig.8 | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8 index 805474c85276..35d9771e0491 100644 --- a/sbin/ifconfig/ifconfig.8 +++ b/sbin/ifconfig/ifconfig.8 @@ -82,6 +82,16 @@ or other operating parameters. .Pp The following options are available: .Bl -tag -width indent +.It Fl a +Display information about all interfaces in the system. +.Pp +The +.Fl a +flag may be used instead of the +.Ar interface +argument. +.It Fl d +Display only the interfaces that are down. .It Fl f Xo .Ar type Ns Cm \&: Ns Ar format Ns .Op Cm \&, Ns Ar type Ns Cm \&: Ns Ar format Ar ... @@ -178,6 +188,8 @@ Display address lifetime for IPv6 addresses as time offset string. .It Fl m Display the capability list and all of the supported media for the specified interface. +.It Fl u +Display only the interfaces that are up. .It Ar address For the DARPA-Internet family, the address is either a host name present in the host name data @@ -289,17 +301,6 @@ If a protocol family is specified, .Nm will report only the details specific to that protocol family. .Pp -Optionally, the -.Fl a -flag may be used instead of an interface name. -This flag instructs -.Nm -to display information about all interfaces in the system. -The -.Fl d -flag limits this to interfaces that are down, -.Fl u -limits this to interfaces that are up, .Fl g limits this to members of the specified group of interfaces, and .Fl G