Module Name: src
Committed By: maxv
Date: Fri Apr 13 17:43:37 UTC 2018
Modified Files:
src/usr.sbin/npf/npfctl: npfctl.c
Log Message:
Document "debug" in usage().
To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/usr.sbin/npf/npfctl/npfctl.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/npf/npfctl/npfctl.c
diff -u src/usr.sbin/npf/npfctl/npfctl.c:1.54 src/usr.sbin/npf/npfctl/npfctl.c:1.55
--- src/usr.sbin/npf/npfctl/npfctl.c:1.54 Mon Oct 30 04:53:43 2017
+++ src/usr.sbin/npf/npfctl/npfctl.c Fri Apr 13 17:43:37 2018
@@ -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 @@ usage(void)
fprintf(stderr,
"\t%s list [-46hNnw] [-i <ifname>]\n",
progname);
+ fprintf(stderr,
+ "\t%s debug [<rule-file>] [<raw-output>]\n",
+ progname);
exit(EXIT_FAILURE);
}