Date: Thu, 16 Mar 2017 01:59:43 +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-10@freebsd.org Subject: svn commit: r315355 - stable/10/sbin/devfs Message-ID: <201703160159.v2G1xhRL067346@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703160159.v2G1xhRL067346>