git: 66b882078973 - stable/13 - sbin/devfs: Correct usage
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 03 Feb 2023 15:58:02 UTC
The branch stable/13 has been updated by zlei:
URL: https://cgit.FreeBSD.org/src/commit/?id=66b882078973d6e2fce77f976e6c073d0786b3ca
commit 66b882078973d6e2fce77f976e6c073d0786b3ca
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:47:41 +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)
---
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);
}