svn commit: r349716 - in stable: 11/contrib/ipfilter/tools 12/contrib/ipfilter/tools

Cy Schubert cy at FreeBSD.org
Thu Jul 4 03:08:15 UTC 2019


Author: cy
Date: Thu Jul  4 03:08:14 2019
New Revision: 349716
URL: https://svnweb.freebsd.org/changeset/base/349716

Log:
  MFC r349450-349451:
  
  Update usage() to refect the current state of ipmon.
  
  PR:	238816

Modified:
  stable/12/contrib/ipfilter/tools/ipmon.c
Directory Properties:
  stable/12/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/11/contrib/ipfilter/tools/ipmon.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/12/contrib/ipfilter/tools/ipmon.c
==============================================================================
--- stable/12/contrib/ipfilter/tools/ipmon.c	Thu Jul  4 03:04:41 2019	(r349715)
+++ stable/12/contrib/ipfilter/tools/ipmon.c	Thu Jul  4 03:08:14 2019	(r349716)
@@ -1438,7 +1438,10 @@ printipflog:
 static void usage(prog)
 	char *prog;
 {
-	fprintf(stderr, "%s: [-NFhstvxX] [-f <logfile>]\n", prog);
+	fprintf(stderr, "Usage: %s [ -abDFhnpstvxX ] [ -B <binary-logfile> ] [ -C <config-file> ]\n"
+		"\t[ -f <device> ] [ -L <facility> ] [ -N <device> ]\n"
+		"\t[ -o [NSI] ] [ -O [NSI] ] [ -P <pidfile> ] [ -S <device> ]\n"
+		"\t[ <filename> ]\n", prog);
 	exit(1);
 }
 


More information about the svn-src-all mailing list