Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jul 2019 03:08:14 +0000 (UTC)
From:      Cy Schubert <cy@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: r349716 - in stable: 11/contrib/ipfilter/tools 12/contrib/ipfilter/tools
Message-ID:  <201907040308.x6438EVl008283@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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/11/contrib/ipfilter/tools/ipmon.c
Directory Properties:
  stable/11/   (props changed)

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

Modified: stable/11/contrib/ipfilter/tools/ipmon.c
==============================================================================
--- stable/11/contrib/ipfilter/tools/ipmon.c	Thu Jul  4 03:04:41 2019	(r349715)
+++ stable/11/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);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907040308.x6438EVl008283>