From nobody Wed Mar 30 13:01:28 2022 X-Original-To: dev-commits-src-all@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 EA30D1A41876; Wed, 30 Mar 2022 13:01:28 +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 4KT6544GkQz4Z4K; Wed, 30 Mar 2022 13:01:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648645288; 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=mFsOvvaPtvPGHkcrcLHmWMm3Gg1bDk49ljkokMruyeA=; b=ckUz3bpwI0iLEcrIvaDAe7b/ixTSDf+O2nOAOTA654gsXQD4XFrsBniIEAKVVpdBi2sCuY MyRsoxE5dyf/0/bdxrHYXK1O2vznNpVeJVcocXAjwLenTscnE+B3yvPbHroE030YA/K1Zl sr3Z05xyWAD0lGNC02Qc//BbEUExGrXhrVUjvaPlbXYLRXZUl4AyCcPUFUaEGUO7CtKsrf R4hTEqMzlEFja1rg0M/7K7F73BuRCK7Ais9TQOiWNh4aJPsQYuXZ8uUvkfAz0o/LLjZb0R wx7S6b0qiAXyNh4xncL/o+J3tdCaVtJ1e4W74xKyiLEI5yGefxVlN3PYrcODyA== 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 2182B13664; Wed, 30 Mar 2022 13:01:28 +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 22UD1SPh098697; Wed, 30 Mar 2022 13:01:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22UD1S0F098696; Wed, 30 Mar 2022 13:01:28 GMT (envelope-from git) Date: Wed, 30 Mar 2022 13:01:28 GMT Message-Id: <202203301301.22UD1S0F098696@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: fe1e3b55f2a6 - main - ifconfig.8: Clean up -l documentation List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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/main X-Git-Reftype: branch X-Git-Commit: fe1e3b55f2a62d336ca9c55e00710f2ae7adf895 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648645288; 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=mFsOvvaPtvPGHkcrcLHmWMm3Gg1bDk49ljkokMruyeA=; b=QP7F4Euxl5bpIpMdWqgD1C3UEWFIEYJSVj+EayRFzkh1s98Ed9/Dy7DXcRb+pXslZOtSKf hJYlBw4hUJsqJblxHHi+Znb6ryVbK+53K73Z7Agh9Jh1pnRR6bDwhdX98PtZI27XcVerOG QvUO+kdR9F6ReFjJr9UzuluMp1f1stBJR1LJ3gQqMBEY/cEaDXM3jl5TOFpy/9iGOm9aKb DS+7icXAJ6TWlNdOOvMGfP0dpe+882zy3WfCnqEQQeyJ9Vda7bkhCkxe2GU1k/SSyh0TIJ QoNu3ydJ97yiqCW5R0YFHsW0R9E7vb5mRYBdg0urRJun8dxtJlIrIOiiqTUkKw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648645288; a=rsa-sha256; cv=none; b=ZZgQrl2PHF4yEDAfH3UhIrburtD+LaVdYY8JBI+9DJI0e/doMpi5+YkfY66qcWRsQ8m7J0 dQqT/IZswW3ABeUgxbsT7LqJ/DP6szY9SZP7rq7vamyvYns7HwRR2VwmUMq3Vz500686Mc WyT+n6TnvldvosLM3ZMY1Gtsa2BXX2IwcWOPBlE6o3sLLu03kBwyGBAHz557fCGWMryX7h UWjCyUwEa7uyd62s3iEtfMW44iRYQPyME6n+ye7gFCIqTmpt9c7Tgdp/8FtGtJIdMJyCrU KCquUsv9coJj9SyLlSZz5dFsxHJwECFXZytyUPpAMoykCGJj+UaL8//+uuIwfg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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