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:
Cy Schubert 2020-07-17 19:07:50 +00:00
parent e082c89385
commit ebdefe6cb4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=363282

View file

@ -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);