git: ac3223a57e11 - stable/12 - sbin/devfs: Correct usage

From: Zhenlei Huang <zlei_at_FreeBSD.org>
Date: Fri, 03 Feb 2023 16:01:01 UTC
The branch stable/12 has been updated by zlei:

URL: https://cgit.FreeBSD.org/src/commit/?id=ac3223a57e119e9e4b6ac055b30b840045acfda1

commit ac3223a57e119e9e4b6ac055b30b840045acfda1
Author:     Enji Cooper <ngie@FreeBSD.org>
AuthorDate: 2022-04-30 17:54:43 +0000
Commit:     Zhenlei Huang <zlei@FreeBSD.org>
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 <naito.yuichiro@gmail.com>
    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);
 }