From nobody Fri Feb 03 16:01:01 2023 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 4P7gP92rdpz3kSrH; Fri, 3 Feb 2023 16:01:01 +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 4P7gP92H5Mz3lMf; Fri, 3 Feb 2023 16:01:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675440061; 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=qgAxXnk9f83gXqORB4fIxwSPs4oO7o4w1MQj1ZT0EEI=; b=ieVrDeGwQODVn87EaPAQaCXHP4a6VS2IyEjDWBT7IfQYl061m0mc2n61g/mMJ1EOpOminU D0B4NxLNzv3UaMa+6Nb+kXR/MP5gY0GPZlck3zPN2lkEjxXV9hPCjoblMguyNGP+6a9jYA LwRQbvo2qJB5LKKjTU0E4pi/4TyPkGWXjiNCRK4dKQPNsiFWT9L+506eURRpRPrE1e5zyF LBpse89nEAlHA5KusgD8khlAIIk7hJPwY+g7yALBldGkWdNj/kiY8MdgpcmdLf+TstEOZ4 umk+XX3UVT5PjvBMPvj0Z+O0cO44ygW1lxKPNyeK4h48L9nhSECQSb0rzz70/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675440061; 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=qgAxXnk9f83gXqORB4fIxwSPs4oO7o4w1MQj1ZT0EEI=; b=Xc6VxUCNBgd+oAncAqDdr4/7uFlbKNvoAiai2L60ruPeVYL3oaRm4CZGwXlaTm0c7PHBnp UCoDDG+ET1B1oh69aeCt56kTZ6lEmHxfrMISZdsGPBmBCOPIUb1+vwdYTcyCs+CJQ0j8XA L2UMw7Qypua6LT4Cnacpd/5cKFu1KzZH5QLJXShRCypgso1k121Y+Ps/rryYYmpUa0ockE yRvO6UwuA9z9jHP84rrNOrPt0uE0x46A/t0bAyFtVfWlpCi0uSQxbEA7aIEoJJKx9ebg0U ln2xEwxsw3r4066SNpASE5xSW7YqeebW2e112IfK17TISdhhFPGKL9LvGqZUzQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675440061; a=rsa-sha256; cv=none; b=tL2A4GPt2OtcyodVVMVbBH1fXEdaRpMRztn8Ux6xNYLWK2Ta+kN0iBxFdRbqeTKPriQmfB HTsM+HlpXTdVbDKl6/0qDAugRfSqe2Z5Y/+p4ojZ9snH5Q3fqsFXSLHIRE84D2H13HGjaX 8Py/79s1gGp7lf+fBM6op/GYQ6t7clpxHvswbbWiYobmHm9zl4wvr/u11cvXNZ1Pm3XlAB 5016Eck9QL1qkI7LOYubPSkHsSv0Lo6dZY74giZ+7hi6DUPYiwXYYC6NimHu1vJcQ4zFid oICe6XpMBzI/+K63XGmUkXJ8FpYEltNAU0QGyLcTyp7/jv/mkxfrFFyE3CWwgg== 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 4P7gP91LHBzgPk; Fri, 3 Feb 2023 16:01:01 +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 313G111S038515; Fri, 3 Feb 2023 16:01:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 313G11qR038514; Fri, 3 Feb 2023 16:01:01 GMT (envelope-from git) Date: Fri, 3 Feb 2023 16:01:01 GMT Message-Id: <202302031601.313G11qR038514@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Zhenlei Huang Subject: git: ac3223a57e11 - stable/12 - sbin/devfs: Correct usage 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: zlei X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: ac3223a57e119e9e4b6ac055b30b840045acfda1 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=ac3223a57e119e9e4b6ac055b30b840045acfda1 commit ac3223a57e119e9e4b6ac055b30b840045acfda1 Author: Enji Cooper AuthorDate: 2022-04-30 17:54:43 +0000 Commit: Zhenlei Huang CommitDate: 2023-02-03 15:59:18 +0000 sbin/devfs: Correct usage The -s applies to rule keyword only and it follows the rule keyword. PR: 263289 Submitted by: Yuichiro NAITO Reviewed by: ngie Fixes: c3e412c08333 sbin/devfs: clarify usage MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D34934 (cherry picked from commit f9f42a709b2b3f8c8d3de517f301d4ccb33e7b16) (cherry picked from commit 66b882078973d6e2fce77f976e6c073d0786b3ca) --- sbin/devfs/devfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/devfs/devfs.c b/sbin/devfs/devfs.c index 7be94c4737de..b5a6bf4015a2 100644 --- a/sbin/devfs/devfs.c +++ b/sbin/devfs/devfs.c @@ -228,7 +228,7 @@ usage(void) { fprintf(stderr, "usage: %s\n%s\n", - "\tdevfs [-m mount-point] [-s ruleset] rule ...", + "\tdevfs [-m mount-point] rule [-s ruleset] ...", "\tdevfs [-m mount-point] ruleset ..."); exit(1); }