Author: ngie
Date: Thu Mar 16 01:59:43 2017
New Revision: 315355
URL: https://svnweb.freebsd.org/changeset/base/315355

Log:
  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.

Modified:
  stable/10/sbin/devfs/devfs.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sbin/devfs/devfs.c
==============================================================================
--- stable/10/sbin/devfs/devfs.c        Thu Mar 16 01:59:41 2017        
(r315354)
+++ stable/10/sbin/devfs/devfs.c        Thu Mar 16 01:59:43 2017        
(r315355)
@@ -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);
 }
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "[email protected]"

Reply via email to