Date: Wed, 29 Jun 2022 08:19:16 GMT From: Mateusz Piotrowski <0mp@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: de47f6ba4fe4 - stable/13 - ifconfig.8: Clean up -l documentation Message-ID: <202206290819.25T8JGP8005077@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by 0mp (doc, ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=de47f6ba4fe41839b05ce95cf6e1dd3951f7793a commit de47f6ba4fe41839b05ce95cf6e1dd3951f7793a Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2022-03-30 11:34:31 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2022-06-29 08:08:53 +0000 ifconfig.8: Clean up -l documentation MFC after: 2 weeks (cherry picked from commit fe1e3b55f2a62d336ca9c55e00710f2ae7adf895) --- 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 c8a61b520cab..9f6674876be3 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202206290819.25T8JGP8005077>