mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-15 22:41:23 +00:00
The output from usage() need not contain usage for -t when STATETOP
is not compiled in. PR: 247952 MFC after: 1 week
This commit is contained in:
parent
e082c89385
commit
ebdefe6cb4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=363282
|
@ -171,10 +171,12 @@ static void usage(name)
|
|||
fprintf(stderr, "Usage: %s [-4aAdfghIilnoRsv]\n", name);
|
||||
#endif
|
||||
fprintf(stderr, " %s [-M corefile] [-N symbol-list]\n", name);
|
||||
#ifdef STATETOP
|
||||
#ifdef USE_INET6
|
||||
fprintf(stderr, " %s -t [-46C] ", name);
|
||||
#else
|
||||
fprintf(stderr, " %s -t [-4C] ", name);
|
||||
#endif
|
||||
#endif
|
||||
fprintf(stderr, "[-D destination address] [-P protocol] [-S source address] [-T refresh time]\n");
|
||||
exit(1);
|
||||
|
|
Loading…
Reference in a new issue