Rewrite usage() so that its source code resembles what is printed.
This commit is contained in:
parent
19acaecac3
commit
0c46447bda
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user