diff options
author | Cy Schubert <cy@FreeBSD.org> | 2019-06-27 02:43:30 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2019-06-27 02:43:30 +0000 |
commit | accc4633dbb13a0200a0cb11e8a6368c0ed4f166 (patch) | |
tree | 43954dd0a94c427cee936decdc7268d9015c4d58 /contrib/ipfilter | |
parent | 74bc7fc0b44b7e5a8734b9fda5732a181cfaeb37 (diff) | |
download | src-accc4633dbb13a0200a0cb11e8a6368c0ed4f166.tar.gz src-accc4633dbb13a0200a0cb11e8a6368c0ed4f166.zip |
Update usage() to refect the current state of ipmon.
PR: 238816
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=349450
Diffstat (limited to 'contrib/ipfilter')
-rw-r--r-- | contrib/ipfilter/tools/ipmon.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/contrib/ipfilter/tools/ipmon.c b/contrib/ipfilter/tools/ipmon.c index 4e4d9cc28f9e..d08895a85c34 100644 --- a/contrib/ipfilter/tools/ipmon.c +++ b/contrib/ipfilter/tools/ipmon.c @@ -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); } |