svn commit: r290577 - stable/9/usr.sbin/rtsold

Garrett Cooper ngie at FreeBSD.org
Mon Nov 9 07:10:33 UTC 2015


Author: ngie
Date: Mon Nov  9 07:10:32 2015
New Revision: 290577
URL: https://svnweb.freebsd.org/changeset/base/290577

Log:
  MFstable/10 r290576:
  
  MFC r290182:
  
  Fix rtsold's usage message
  
  - Remove -a from the usage message example dealing with specific
    interfaces. -a only makes sense when not specifying an interface,
    such that it's to be run on all interfaces
  - Fix the pidfile option (it's -p, not -P)
  - Change `interfaces` to `interface` to match the manpage
  
  PR: 173744
  Sponsored by: EMC / Isilon Storage Division

Modified:
  stable/9/usr.sbin/rtsold/rtsold.c
Directory Properties:
  stable/9/   (props changed)
  stable/9/usr.sbin/   (props changed)
  stable/9/usr.sbin/rtsold/   (props changed)

Modified: stable/9/usr.sbin/rtsold/rtsold.c
==============================================================================
--- stable/9/usr.sbin/rtsold/rtsold.c	Mon Nov  9 07:07:25 2015	(r290576)
+++ stable/9/usr.sbin/rtsold/rtsold.c	Mon Nov  9 07:10:32 2015	(r290577)
@@ -839,15 +839,15 @@ static void
 usage(void)
 {
 #ifndef SMALL
-	fprintf(stderr, "usage: rtsold [-adDfFm1] [-O script-name] "
-	    "[-P pidfile] [-R script-name] interfaces...\n");
 	fprintf(stderr, "usage: rtsold [-dDfFm1] [-O script-name] "
-	    "[-P pidfile] [-R script-name] -a\n");
+	    "[-p pidfile] [-R script-name] interface ...\n");
+	fprintf(stderr, "usage: rtsold [-dDfFm1] [-O script-name] "
+	    "[-p pidfile] [-R script-name] -a\n");
 #else
 	fprintf(stderr, "usage: rtsol [-dDF] [-O script-name] "
-	    "[-P pidfile] [-R script-name] interfaces...\n");
+	    "[-p pidfile] [-R script-name] interface ...\n");
 	fprintf(stderr, "usage: rtsol [-dDF] [-O script-name] "
-	    "[-P pidfile] [-R script-name] -a\n");
+	    "[-p pidfile] [-R script-name] -a\n");
 #endif
 }
 


More information about the svn-src-all mailing list