From nobody Wed Jun 29 08:19:16 2022 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id EE1198A7685; Wed, 29 Jun 2022 08:19:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LXvWT3RCdz4kDc; Wed, 29 Jun 2022 08:19:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656490757; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Bu4kgQf/8xSaXmAi7Iby5fDYA8N2S1Z5b4QEah9J6AU=; b=HVi8MvHHDU8IEIWW32HlEmuxrJ+EsfAqbDnEVTmUAhABIjWXSxrgGUGG9CxK1j9i5Sx75S zrFGxcP0wFeUE5IhZyavYnNyWO1vvDg/c6b1Upt2iEbvGUNJlLZOSmbBN5p+7jthpdMBTo QCV4kUCobLCDdv39tao5z3mVrvqS3lfzbXJn3N75pm1n1u9NcxCKF2t3p+P7ji6eLZpsAm yiZCdRHRR+jthcPOTo4wpVVgwT8Xhwk+iWwIoHg+uIyyDRPjhteUwVCY1MgLGJARtzkQbB +WTPqb65THpyBRqsOoCht0SMt/HSTlZHmkbmF16Q1/UFWW5bC+aydTvF+Sc6/Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 082C9611A; Wed, 29 Jun 2022 08:19:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 25T8JGNx005078; Wed, 29 Jun 2022 08:19:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25T8JGP8005077; Wed, 29 Jun 2022 08:19:16 GMT (envelope-from git) Date: Wed, 29 Jun 2022 08:19:16 GMT Message-Id: <202206290819.25T8JGP8005077@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: de47f6ba4fe4 - stable/13 - ifconfig.8: Clean up -l documentation List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: 0mp X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: de47f6ba4fe41839b05ce95cf6e1dd3951f7793a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656490757; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Bu4kgQf/8xSaXmAi7Iby5fDYA8N2S1Z5b4QEah9J6AU=; b=aw9MDiK8J/JdX3oxAGz1Jqk+JQqSJq+laC1/FmU9bysJEHlhMkWKXuqc2kEFFJmdWCn22T QWasXiYWA/PJlLw/tv0Q9/zAfJnClbBTcg1WV4VrDRAUkuzYHbppIsM6zNrYIKMUWaiSQ6 VJPB/UfAzytyJuxksFROgrZR6QetKawuP4SdJZgPQXIkrGm87GEPikwkBeyn2tq/FmRuqe CvZVK5+giLL3uJwnlUQ9C1UnVVceUofYNUgwvNc+829Gqmzif7GbcddZ5QNJZ9XTmnkRzi mG5Z91eLbFDvCpjeVYq/5IZ9q57M1zusddLQiVQp5R30VqDmMMHuNamBpQln1Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656490757; a=rsa-sha256; cv=none; b=UKSZqALDqnSaYITy9WY6UV/+VbIhYRLvbH+rNBxNEDNz4wJ3uEZp9PHNPRWK2QQhMwrNg0 0QfuUoFW29B7u2Ws5Rjz9P4DTMIamP4bIOlejUcxAX8RSBeBFAL8jh5bmL40aQgoScwwL9 4PdGeP8zinsWaCvateq4oNVyy/E6VgLi46Kih+g1oFNNDl/hMnc5NMXpUjTZsV+B1V+1pd snekXRgMuM2x7bkPJg0fGTN6G6w8FMMT5P/FGk2wD4zPQsMP8OcaS19aDpbskSkTxSvzy1 bX/zmu7EguUB69fyLE5tU9lFR7WtxIZjCb/XbpBGkgIkACzxtcAyHLXwZn/qNQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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