From nobody Tue Apr 12 14:36: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 B630F1A8CF84; Tue, 12 Apr 2022 14:36:25 +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 4Kd7Zd0mLkz3QBW; Tue, 12 Apr 2022 14:36:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649774185; 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=aozWJut+mjGArK03k1I6CQvGEhoeiRkdvTq9+MPmj1Y=; b=TM2OsJlUGPzWBhD+t1e6xgh/nODio2g1U1rk/ZfIaEMMEbP11P2L3Usla2TFR+a8kxe23s a0K10z204MZhMXtAXWKjHKS1XCNzjuGQX5d6Lp0nqxCmRB2RQc0G5Fpu9XMSN9QbCRXFcL 0XnmwYaNoFr9KvQcDiZ9f6lReahj5Q1Z90s9WlbnvjUlNGcTP8xWzt+dqZLWYFWWLEDDpe NkWo2lpscVouKb9Bb2BqyHnrarVO7Idz6760I+FjwS2Ae1V64urEjK9x9EozLuzt/JnZqa DdG1nylOOifc1peTzk0S2H+lzjSc5E5vuJr4FDVPKxvHddiONuzzyUVuu8kWCQ== 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 E81FD193DA; Tue, 12 Apr 2022 14:36: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 23CEaOX8039114; Tue, 12 Apr 2022 14:36:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23CEaOJk039113; Tue, 12 Apr 2022 14:36:24 GMT (envelope-from git) Date: Tue, 12 Apr 2022 14:36:24 GMT Message-Id: <202204121436.23CEaOJk039113@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: 5ff674651a82 - stable/12 - ifconfig.8: Improve -f synopsis 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/12 X-Git-Reftype: branch X-Git-Commit: 5ff674651a8270a3757007e0e65b1c0e0ba78dc4 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649774185; 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=aozWJut+mjGArK03k1I6CQvGEhoeiRkdvTq9+MPmj1Y=; b=YBa5s4gg2MkZAgcptQZ57rLGbtovDXxLt68ZQ2PSXadb3tmuVe2gz6kffvMGK8iQc1A6i3 cQqCI39l5DXmOG5YV4xBP2Ln4jLlt8ytqWV2i1QEflnE7zgHZhLoNZQaCaadJql0vjh+jv hapyOJcGl1HroJcIP3RztSCWmXV4WVoyWS+VbyflIBHYvLN8Lqpu6q2Bo6LUHvbwrG1MxQ wjFNMhyODlFOXgh3JtVGy8LpGegm1KZF+aVvbmZymFdZS+VkfgTk1UsQ/8tL3zpKLbrOmi 4DcYpXIQU2CZ4T935DQB4T/+pbfoU4BhgGXDwppFLEK30dNj7ueC83JVuFX3AQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649774185; a=rsa-sha256; cv=none; b=HxX7u8gUwLtAOpBrArPX/dbyJSfp1kVOVFa14TmXkeUCPkl6pT9Pgc3AjiAsMwWx1vuRXN LKiBuNluY7s3qKnoZSJlHd1Le5gYPJ5BNog1cLno/tsvUlq0kLPh6a10lJN5cDOJFem+OG eLqZes2tURIcl0FwEbRDV7pOQBI1n5AQQYO/kvsEGdvoGjBVgkBrxW+HKFpITbDwsFJRMp CiTrFuhJnSMrCP2zWBxe/jVOOqvEtuhmYbnbiCCScBzrVvJkhTp4RQk1yawADjFp17z2Fr fl8Btv0XYTR9T3HN1QHI8CNItQVlknpaPVIyYce9OupeJwRkzLLvVC+p6rvbjA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by 0mp (doc, ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=5ff674651a8270a3757007e0e65b1c0e0ba78dc4 commit 5ff674651a8270a3757007e0e65b1c0e0ba78dc4 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2022-03-29 17:32:32 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2022-04-12 14:36:15 +0000 ifconfig.8: Improve -f synopsis - There is no need to mention in the synopsis that -f can be a list of comma-separated type:format pairs. Let's keep it simple instead. - Mention that -f can be supplied multiple times. - Add -f to other entries in the synopsis where it can be used. MFC after: 2 weeks (cherry picked from commit 52ec8807d8b3a59b7497a3aa94952c7ad4b162bd) --- sbin/ifconfig/ifconfig.8 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8 index 2a90652cff02..fa4ee403105d 100644 --- a/sbin/ifconfig/ifconfig.8 +++ b/sbin/ifconfig/ifconfig.8 @@ -37,7 +37,7 @@ .Sh SYNOPSIS .Nm .Op Fl kLmn -.Op Fl f Ar type Ns Cm \&: Ns Ar format Ns Op Cm \&, Ns Ar type Ns Cm \& : Ns Ar format ... +.Op Fl f Ar type Ns Cm \&: Ns Ar format .Ar interface .Op Cm create .Ar address_family @@ -52,6 +52,7 @@ .Nm .Fl a .Op Fl dLmuv +.Op Fl f Ar type Ns Cm \&: Ns Ar format .Op Fl G Ar groupname .Op Fl g Ar groupname .Op Ar address_family @@ -65,6 +66,7 @@ .Op Ar address_family .Nm .Op Fl dkLmuv +.Op Fl f Ar type Ns Cm \&: Ns Ar format .Sh DESCRIPTION The .Nm @@ -195,6 +197,9 @@ environment variable. The format is specified as a comma separated list of .Sy type:format pairs. +The +.Fl f +flag can be supplied multiple times. See the .Sx EXAMPLES section for more information.