diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2006-10-26 13:34:48 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2006-10-26 13:34:48 +0000 |
commit | 7e97562c470f2c4baa8be83a752b03b57c39cef6 (patch) | |
tree | fa4058c585e8506ce89b8ad04058689c3031e8d7 /sbin | |
parent | db82a4e81cc5aebf267f377420bf8376d26538c0 (diff) |
- sort options
- sync usage()
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/pflogd/pflogd.8 | 5 | ||||
-rw-r--r-- | sbin/pflogd/pflogd.c | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/sbin/pflogd/pflogd.8 b/sbin/pflogd/pflogd.8 index b0b09509ed6..457f2bcb137 100644 --- a/sbin/pflogd/pflogd.8 +++ b/sbin/pflogd/pflogd.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pflogd.8,v 1.28 2006/10/25 20:20:19 henning Exp $ +.\" $OpenBSD: pflogd.8,v 1.29 2006/10/26 13:34:47 jmc Exp $ .\" .\" Copyright (c) 2001 Can Erkin Acar. All rights reserved. .\" @@ -34,8 +34,8 @@ .Nm pflogd .Op Fl Dx .Op Fl d Ar delay -.Op Fl i Ar interface .Op Fl f Ar filename +.Op Fl i Ar interface .Op Fl s Ar snaplen .Op Ar expression .Sh DESCRIPTION @@ -105,6 +105,7 @@ Log output filename. Default is .Pa /var/log/pflog . .It Fl i Ar interface +Specifies the .Xr pflog 4 interface to use. By default, diff --git a/sbin/pflogd/pflogd.c b/sbin/pflogd/pflogd.c index 94184913004..168deb12edd 100644 --- a/sbin/pflogd/pflogd.c +++ b/sbin/pflogd/pflogd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pflogd.c,v 1.36 2006/10/25 20:20:19 henning Exp $ */ +/* $OpenBSD: pflogd.c,v 1.37 2006/10/26 13:34:47 jmc Exp $ */ /* * Copyright (c) 2001 Theo de Raadt @@ -150,8 +150,8 @@ logmsg(int pri, const char *message, ...) __dead void usage(void) { - fprintf(stderr, "usage: pflogd [-Dx] [-d delay] [-i interface]"); - fprintf(stderr, " [-f filename] [-s snaplen]\n"); + fprintf(stderr, "usage: pflogd [-Dx] [-d delay] [-f filename]"); + fprintf(stderr, " [-i interface] [-s snaplen]\n"); fprintf(stderr, " [expression]\n"); exit(1); } |