From nobody Tue Apr 12 14:36:23 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 6E2B61A8CBAE; Tue, 12 Apr 2022 14:36:24 +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 4Kd7Zb5Bs7z3QN9; Tue, 12 Apr 2022 14:36:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649774183; 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=mnhe9Exhikp57TZUIIfhx1FzozsFv/SncI/Jj7s4ilI=; b=VgrmV/LHrOkj3EVfNTRRm3B75ZKzz3Fef6bTy7M4FQNLkvz4R/6DH7iXu/1/sanGPmMVm3 XvNMHyCVZSxyEQQf2Rbn+/62qlYP1Wd6/9VY8ZGAkn9Yr5W2DJh173EDtW7zGA7E76qBT/ NrL2mX9Xhx779jwQ3XHE9SrkTnWnw8YZn/KpVDGJR/67StWJLrhjilfRniIkC1zD3Jd5ng A0DEdifUfIna6pVrLPI+BvDxUcwK1/jQTB5/BQojuBeKI7HExPXL95koPx+aXYSqkRIagj H25wn40u9nUoXSqpVgx3OWNXjFEk7KqC7J6bACfmnFKRRv7YaAsD6MF8uD7xag== 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 7826F1934B; Tue, 12 Apr 2022 14:36:23 +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 23CEaN9P039035; Tue, 12 Apr 2022 14:36:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23CEaNCi039034; Tue, 12 Apr 2022 14:36:23 GMT (envelope-from git) Date: Tue, 12 Apr 2022 14:36:23 GMT Message-Id: <202204121436.23CEaNCi039034@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: 1a5bc3f7355b - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: 1a5bc3f7355bde0c359ad2cb83c881057e2e7405 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649774183; 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=mnhe9Exhikp57TZUIIfhx1FzozsFv/SncI/Jj7s4ilI=; b=Et+MHDziLG/6gpE3dWT7pz5doNKw4DrDVwZPCtycfyHPSRjYOsa6N6krI5ezsL4VLlYTwq ligAyXDyrnR9KwfIxy4U3i89CemF0abYX/rhrJNRX1fzYCMNdXDtkDyY5eqUoI32vKIEWN avCHAdq7lIZ+3OOfx8yLvaU/wCRH9dfctlzz3dKkQLg3linkMi6QiUUQKYjd+vLptvbnVl ynGusrF4VL2KdY2U+75yxx9oZeANH+HY8yJJzMfcw+liIQ+yAVXBha0+eOLsUg7RLD9sn3 pBXP0O6362xp7ZeSTzouwxR3wyHOSf8Ph/BnkpKIl6BVlt/pLXpAy4enT9JjVA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649774183; a=rsa-sha256; cv=none; b=VYeWqpupLl8yBlAdNJBiLtS9La04FVH0xpqLvgcyyyl7uhD0M/nb6PUOFq3phi4HyksLoq nFq4vRbL7Peo4ExX0XBGv42oempV3bGF8qQ0I9UjblZa7DKvEdj4JBKD1Rdgnu3dMnHOHS n4R1+bX7kfXm9hsVQbjN6MR80qIY/6nOl6kCTyVeuo5Smrh/lvhTeGWuh6F1lLT3lfOJCY qjFpE5iiXuz+D4fRE5Yf3dmIHaRV5TREgi8gfydWuiQ5akXbY7jhnkY/IRjeQAA3LRwCBx a3gj4Ko0WE8mlWb1IscUev4XQoD8SaaVjUa4OvoxRGdZ8+5q2PVInm8r3hm98g== 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=1a5bc3f7355bde0c359ad2cb83c881057e2e7405 commit 1a5bc3f7355bde0c359ad2cb83c881057e2e7405 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:35:51 +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 59dd7708276b..ba979ec6485a 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.