Date: Thu, 16 Mar 2017 01:59:41 +0000 (UTC) From: Ngie Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r315354 - stable/11/sbin/devfs Message-ID: <201703160159.v2G1xf3p067301@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Thu Mar 16 01:59:41 2017 New Revision: 315354 URL: https://svnweb.freebsd.org/changeset/base/315354 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/11/sbin/devfs/devfs.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sbin/devfs/devfs.c ============================================================================== --- stable/11/sbin/devfs/devfs.c Thu Mar 16 01:58:09 2017 (r315353) +++ stable/11/sbin/devfs/devfs.c Thu Mar 16 01:59:41 2017 (r315354) @@ -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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703160159.v2G1xf3p067301>