diff options
author | glebius <glebius@FreeBSD.org> | 2013-11-22 20:11:17 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2013-11-22 20:11:17 +0000 |
commit | fc232cc4e8474d524a28f7032d664e7dd1ef0710 (patch) | |
tree | 88fba78add3d272ff9b7f3685b1c0aca11b903a2 /sbin | |
parent | f889028338d27bce7743ea9cf0a00609d17bc8d5 (diff) | |
download | FreeBSD-src-fc232cc4e8474d524a28f7032d664e7dd1ef0710.zip FreeBSD-src-fc232cc4e8474d524a28f7032d664e7dd1ef0710.tar.gz |
Rewrite usage() so that its source code resembles what is printed.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/pfctl/pfctl.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c index 90a2bb5..0ce5c52 100644 --- a/sbin/pfctl/pfctl.c +++ b/sbin/pfctl/pfctl.c @@ -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); } |