svn commit: r258484 - head/sbin/pfctl
Gleb Smirnoff
glebius at FreeBSD.org
Fri Nov 22 20:11:18 UTC 2013
Author: glebius
Date: Fri Nov 22 20:11:17 2013
New Revision: 258484
URL: http://svnweb.freebsd.org/changeset/base/258484
Log:
Rewrite usage() so that its source code resembles what is printed.
Modified:
head/sbin/pfctl/pfctl.c
Modified: head/sbin/pfctl/pfctl.c
==============================================================================
--- head/sbin/pfctl/pfctl.c Fri Nov 22 19:27:17 2013 (r258483)
+++ head/sbin/pfctl/pfctl.c Fri Nov 22 20:11:17 2013 (r258484)
@@ -234,13 +234,13 @@ usage(void)
{
extern char *__progname;
- fprintf(stderr, "usage: %s [-AdeghmNnOPqRrvz] ", __progname);
- fprintf(stderr, "[-a anchor] [-D macro=value] [-F modifier]\n");
- fprintf(stderr, "\t[-f file] [-i interface] [-K host | network]\n");
- fprintf(stderr, "\t[-k host | network | label | id] ");
- fprintf(stderr, "[-o level] [-p device]\n");
- fprintf(stderr, "\t[-s modifier] ");
- fprintf(stderr, "[-t table -T command [address ...]] [-x level]\n");
+ fprintf(stderr,
+"usage: %s [-AdeghmNnOPqRrvz] [-a anchor] [-D macro=value] [-F modifier]\n"
+ "\t[-f file] [-i interface] [-K host | network]\n"
+ "\t[-k host | network | label | id] [-o level] [-p device]\n"
+ "\t[-s modifier] [-t table -T command [address ...]] [-x level]\n",
+ __progname);
+
exit(1);
}
More information about the svn-src-head
mailing list