Author: cy
Date: Thu Jun 27 02:43:30 2019
New Revision: 349450
URL: https://svnweb.freebsd.org/changeset/base/349450
Log:
Update usage() to refect the current state of ipmon.
PR: 238816
MFC after: 1 week
Modified:
head/contrib/ipfilter/tools/ipmon.c
Modified: head/contrib/ipfilter/tools/ipmon.c
==============================================================================
--- head/contrib/ipfilter/tools/ipmon.c Thu Jun 27 02:43:26 2019
(r349449)
+++ head/contrib/ipfilter/tools/ipmon.c Thu Jun 27 02:43:30 2019
(r349450)
@@ -1438,8 +1438,11 @@ printipflog:
static void usage(prog)
char *prog;
{
- fprintf(stderr, "%s: [-NFhstvxX] [-f <logfile>]\n", prog);
- exit(1);
+ 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);
}
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"