git: fe1e3b55f2a6 - main - ifconfig.8: Clean up -l documentation
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 30 Mar 2022 13:01:28 UTC
The branch main has been updated by 0mp (doc, ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=fe1e3b55f2a62d336ca9c55e00710f2ae7adf895 commit fe1e3b55f2a62d336ca9c55e00710f2ae7adf895 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2022-03-30 11:34:31 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2022-03-30 12:58:35 +0000 ifconfig.8: Clean up -l documentation MFC after: 2 weeks --- sbin/ifconfig/ifconfig.8 | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8 index f4c8570ef774..ccc20e29cdc3 100644 --- a/sbin/ifconfig/ifconfig.8 +++ b/sbin/ifconfig/ifconfig.8 @@ -204,7 +204,21 @@ should be specified as later override previous ones may contain shell patterns in which case it should be quoted. .It Fl L Display address lifetime for IPv6 addresses as time offset string. +.It Fl l +List all available interfaces on the system, +with no other additional information. .Pp +If an +.Ar address_family +is specified, only interfaces of that type will be listed. +.Ql ifconfig -l ether +will list only Ethernet adapters, excluding the loopback interface. +.Pp +Use of this flag is mutually exclusive +with all other flags and commands, except for +.Fl d +and +.Fl u . .It Fl m Display the capability list and all of the supported media for the specified interface. @@ -326,23 +340,6 @@ When no arguments are given, is implied. .Pp The -.Fl l -flag may be used to list all available interfaces on the system, with -no other additional information. -If an -.Ar address_family -is specified, only interfaces of that type will be listed. -.Fl l Dq ether -will list only Ethernet adapters, excluding the loopback interface. -Use of this flag is mutually exclusive -with all other flags and commands, except for -.Fl d -(only list interfaces that are down) -and -.Fl u -(only list interfaces that are up). -.Pp -The .Fl v flag may be used to get more verbose status for an interface. .Pp