Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/npf/npfctl Document "debug" in usage().
details: https://anonhg.NetBSD.org/src/rev/8109274e4fa2
branches: trunk
changeset: 361128:8109274e4fa2
user: maxv <maxv%NetBSD.org@localhost>
date: Fri Apr 13 17:43:37 2018 +0000
description:
Document "debug" in usage().
diffstat:
usr.sbin/npf/npfctl/npfctl.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 3a4e5eaafbd0 -r 8109274e4fa2 usr.sbin/npf/npfctl/npfctl.c
--- a/usr.sbin/npf/npfctl/npfctl.c Fri Apr 13 14:31:35 2018 +0000
+++ b/usr.sbin/npf/npfctl/npfctl.c Fri Apr 13 17:43:37 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: npfctl.c,v 1.54 2017/10/30 04:53:43 ozaki-r Exp $ */
+/* $NetBSD: npfctl.c,v 1.55 2018/04/13 17:43:37 maxv Exp $ */
/*-
* Copyright (c) 2009-2014 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: npfctl.c,v 1.54 2017/10/30 04:53:43 ozaki-r Exp $");
+__RCSID("$NetBSD: npfctl.c,v 1.55 2018/04/13 17:43:37 maxv Exp $");
#include <sys/stat.h>
#include <sys/types.h>
@@ -155,6 +155,9 @@
fprintf(stderr,
"\t%s list [-46hNnw] [-i <ifname>]\n",
progname);
+ fprintf(stderr,
+ "\t%s debug [<rule-file>] [<raw-output>]\n",
+ progname);
exit(EXIT_FAILURE);
}
Home |
Main Index |
Thread Index |
Old Index