From nobody Wed Jun 29 08:19:24 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 643088A7C76; Wed, 29 Jun 2022 08:19:27 +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 4LXvWd63bPz4kSK; Wed, 29 Jun 2022 08:19:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656490766; 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=GoP5m/aCI2HpPkocUTGWRA+qkVpAdmfo8PKX2fk5a+k=; b=OBPsgLHGgU6bxqOeOas/2NDP7cQy8LG4Q68LoyO/za1mU2r54jfhyRzLDTWp+JLMR2zWB+ tUBVlI3P0ALV2+p3MMnBjS8bsWYgkFz0cnY37ZJL+dqgLN+T7Mvs1NRXQlDcDwe7FOC/QU JnGz06ghOeRmqbZXfrKXt5KDzJ+c3fCzoxJKkEqSKYIsA/wMNac20ERNdr5VegB66z/NoP o3JPEGRIHf3BpSUxq2967IvFzgTt5+vdDXBknZt3oGcMPH8Oq7ckEw7t7Icm8/HCJHy6NN iHZB4MXQ40tZbK0Ok5/dvu1UzlW/k95tawIx/coibQ2RdKq/DIkIc3OJwKT3BQ== 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 F381B5D38; Wed, 29 Jun 2022 08:19:24 +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 25T8JONu005252; Wed, 29 Jun 2022 08:19:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25T8JObL005251; Wed, 29 Jun 2022 08:19:24 GMT (envelope-from git) Date: Wed, 29 Jun 2022 08:19:24 GMT Message-Id: <202206290819.25T8JObL005251@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: 13ac48d8086c - stable/13 - ifconfig.8: Make the -f flag description compact 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/stable/13 X-Git-Reftype: branch X-Git-Commit: 13ac48d8086cb6d0343be3ef7d49f5cb1c707c25 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656490766; 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=GoP5m/aCI2HpPkocUTGWRA+qkVpAdmfo8PKX2fk5a+k=; b=SP6Ehivsyt2nj+ZSTVXU6LSyBh+AhTvRKAPAyE267KroT6kw6iQBmGWqZTLSE5qCs5fm81 Nvnq+8LXsxGMZit6jY6Loxz1DBwMiMpFv+5N4QbyPrqkUAVNCK0DrPI/3SGKbDvpE9+xEp rf50W4IK8B3T8t9g/uQwBxQvI5Yk54mEGX+G6zhsB62PFOhLqxBqAymjVyqc1SV4Rer6TO x82p2Iv1V8lbS3dTBBPe+0iLPw8fCrOaIlONvJMWPYmAoKj/EC74HRk9fFGYfnEhhWHQhy HicB8K1ofrEA9wNaMYJqjP9hdKRARbPaYDtVPc0vkHM2nscNVmlCRLDpKcmuHw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656490766; a=rsa-sha256; cv=none; b=GZP2N4Xdinm/30AVHBW01YIQpW+N8pphnwy+E+raMr38lYESKtY1/1/hP1SAbFdSyXkMca 0NV4bSBBaQ6QsO5C276fMt299/Mabh6ctovyX8KuVnnfIbrxX2cOWxneT1H5ser9q5yO1Q urHGY3PDptz1TZSmhiVaF6QjSXQUSWIiFvsfWc8U76qhI03dbA73RV8zyaL5SgrOWDJnru Q/2Z7pnSWcv2qbcjjq36e5mcYJve0wqj05ivFeH0nj+1hJADbai7lGLpWJSrS4h2zUQeFC r95RQu8gQWBo0tEapgk1fsUGBfLEd079BuKbscu3c1mU/8tai0febGbkyIQ9ug== 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=13ac48d8086cb6d0343be3ef7d49f5cb1c707c25 commit 13ac48d8086cb6d0343be3ef7d49f5cb1c707c25 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2022-03-30 12:35:15 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2022-06-29 08:09:31 +0000 ifconfig.8: Make the -f flag description compact - Remove extraneous examples - Apply "-compact" to the list macros so that it is possible to fit the definitions of the types and formats in one terminal screen. MFC after: 2 weeks (cherry picked from commit 39da6db9bc8909dba5c2fefc2dd0d310b0c0206e) --- sbin/ifconfig/ifconfig.8 | 57 ++++++++++++++++++++++++------------------------ 1 file changed, 28 insertions(+), 29 deletions(-) diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8 index d9e756ec4c3a..483748fb29cf 100644 --- a/sbin/ifconfig/ifconfig.8 +++ b/sbin/ifconfig/ifconfig.8 @@ -122,68 +122,67 @@ The and their associated .Ar format strings are: +.Pp .Bl -tag -width ether .It Cm addr Adjust the display of inet and inet6 addresses: -.Bl -tag -width default +.Pp +.Bl -tag -width default -compact .It Cm default -Display inet and inet6 addresses in the default format, +Default format, .Cm numeric .It Cm fqdn -Display inet and inet6 addresses as fully qualified domain names +Fully qualified domain names .Pq FQDN .It Cm host -Display inet and inet6 addresses as unqualified hostnames +Unqualified hostnames .It Cm numeric -Display inet and inet6 addresses in numeric format +Numeric format .El .It Cm ether Adjust the display of link-level ethernet (MAC) addresses: -.Bl -tag -width default +.Pp +.Bl -tag -width default -compact .It Cm colon Separate address segments with a colon .It Cm dash Separate address segments with a dash .It Cm default -Display ethernet addresses in the default format, +Default format, .Cm colon .El .It Cm inet Adjust the display of inet address subnet masks: -.Bl -tag -width default +.Pp +.Bl -tag -width default -compact .It Cm cidr -Display subnet masks in CIDR notation, for example: -.Dl 10.0.0.0/8 -or -.Dl 203.0.113.224/26 +CIDR notation, for example: +.Ql 203.0.113.224/26 .It Cm default -Display subnet masks in the default format, +Default format, .Cm hex .It Cm dotted -Display subnet masks in dotted quad notation, for example: -.Dl 255.255.0.0 -or -.Dl 255.255.255.192 +Dotted quad notation, for example: +.Ql 255.255.255.192 .It Cm hex -Display subnet masks in hexadecimal, for example: -.Dl 0xffff0000 -or -.Dl 0xffffffc0 +Hexadecimal format, for example: +.Ql 0xffffffc0 .El .It Cm inet6 Adjust the display of inet6 address prefixes (subnet masks): -.Bl -tag -width default +.Pp +.Bl -tag -width default -compact .It Cm cidr -Display subnet prefix in CIDR notation, for example: -.Dl ::1/128 +CIDR notation, for example: +.Ql ::1/128 or -.Dl fe80::1%lo0/64 +.Ql fe80::1%lo0/64 .It Cm default -Display subnet prefix in the default format +Default format, .Cm numeric -.It Sy numeric -Display subnet prefix in integer format, for example: -.Dl prefixlen 64 +.It Cm numeric +Integer format, for example: +.Ql prefixlen 64 .El .El .It Fl G Ar groupname