svn commit: r314924 - head/sbin/devfs
Ngie Cooper
ngie at FreeBSD.org
Wed Mar 8 23:58:11 UTC 2017
Author: ngie
Date: Wed Mar 8 23:58:10 2017
New Revision: 314924
URL: https://svnweb.freebsd.org/changeset/base/314924
Log:
sbin/devfs: clarify usage
- Note existence of -m option.
- Note that -s applies to rule keyword, only, by adding usage text
specifically for the `rule` and `ruleset` keywords.
Don't go into any further detail in usage(..) -- it's best that one
reads the manpage to get a better idea of how things work as there are
a number of different option-specific keywords and arguments, as well
as some rule grammar.
MFC after: 1 week
Sponsored by: Dell EMC Isilon
Modified:
head/sbin/devfs/devfs.c
Modified: head/sbin/devfs/devfs.c
==============================================================================
--- head/sbin/devfs/devfs.c Wed Mar 8 22:49:22 2017 (r314923)
+++ head/sbin/devfs/devfs.c Wed Mar 8 23:58:10 2017 (r314924)
@@ -225,6 +225,8 @@ void
usage(void)
{
- fprintf(stderr, "usage: devfs rule|ruleset arguments\n");
+ fprintf(stderr, "usage: %s\n%s\n",
+ "\tdevfs [-m mount-point] [-s ruleset] rule ...",
+ "\tdevfs [-m mount-point] ruleset ...");
exit(1);
}
More information about the svn-src-head
mailing list