summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-03-16 01:59:41 +0000
committerngie <ngie@FreeBSD.org>2017-03-16 01:59:41 +0000
commit48fe6af21e980bd138851c30613334c68f655f23 (patch)
tree981138dfa0e0413fdd50f699f3c1ac64e99fbc08 /sbin
parent4ed03696251c589e514c1e751776be860a30b327 (diff)
downloadFreeBSD-src-48fe6af21e980bd138851c30613334c68f655f23.zip
FreeBSD-src-48fe6af21e980bd138851c30613334c68f655f23.tar.gz
MFC r314924:
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.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/devfs/devfs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/devfs/devfs.c b/sbin/devfs/devfs.c
index 0e7b662..bd6fea9 100644
--- a/sbin/devfs/devfs.c
+++ b/sbin/devfs/devfs.c
@@ -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);
}
OpenPOWER on IntegriCloud