The branch stable/12 has been updated by zlei:

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

commit ac3223a57e119e9e4b6ac055b30b840045acfda1
Author:     Enji Cooper <n...@freebsd.org>
AuthorDate: 2022-04-30 17:54:43 +0000
Commit:     Zhenlei Huang <z...@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.yuich...@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);
 }

Reply via email to