diff options
author | 2003-02-20 11:08:06 +0000 | |
---|---|---|
committer | 2003-02-20 11:08:06 +0000 | |
commit | e3df0c54d8cb8a02e02b3e10ebf98cf5e86a927a (patch) | |
tree | a7a53dca515432d93c2d2448520df759d5af31a6 | |
parent | sync (diff) | |
download | wireguard-openbsd-e3df0c54d8cb8a02e02b3e10ebf98cf5e86a927a.tar.xz wireguard-openbsd-e3df0c54d8cb8a02e02b3e10ebf98cf5e86a927a.zip |
Fix table syntax documentation, from David Krause.
-rw-r--r-- | sbin/pfctl/pfctl.8 | 7 | ||||
-rw-r--r-- | sbin/pfctl/pfctl.c | 4 |
2 files changed, 6 insertions, 5 deletions
diff --git a/sbin/pfctl/pfctl.8 b/sbin/pfctl/pfctl.8 index 21ea5a72295..863851eae26 100644 --- a/sbin/pfctl/pfctl.8 +++ b/sbin/pfctl/pfctl.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pfctl.8,v 1.81 2003/02/19 21:50:16 henning Exp $ +.\" $OpenBSD: pfctl.8,v 1.82 2003/02/20 11:08:06 cedric Exp $ .\" .\" Copyright (c) 2001 Kjell Wooding. All rights reserved. .\" @@ -40,7 +40,8 @@ .Op Fl F Ar modifier .Op Fl k Ar host .Op Fl s Ar modifier -.Op Fl t Ar table [-T command [addresses]*] +.Op Fl t Ar table +.Op Fl T Ar command [addresses ...] .Op Fl x Ar level .Ek .Sh DESCRIPTION @@ -232,7 +233,7 @@ Show all of the above. .El .It Fl t Ar table Specify the name of the table. -.It Fl T Ar command +.It Fl T Ar command [addresses ...] Specify the command to apply to the table. Commands include: .Bl -tag -width "T Replace " -compact diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c index f727869cb3e..f75d634eefd 100644 --- a/sbin/pfctl/pfctl.c +++ b/sbin/pfctl/pfctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl.c,v 1.154 2003/02/19 21:50:16 henning Exp $ */ +/* $OpenBSD: pfctl.c,v 1.155 2003/02/20 11:08:06 cedric Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -187,7 +187,7 @@ usage(void) fprintf(stderr, " "); fprintf(stderr, "[-f file] [-F modifier] [-k host] [-s modifier]\n"); fprintf(stderr, " "); - fprintf(stderr, "[-t table [-T command [addresses]*]] [-x level]\n"); + fprintf(stderr, "[-t table] [-T command [addresses ...]] [-x level]\n"); exit(1); } |