Marginally improve usage() message style in bootpd.

- Remove an extra space after "usage:".
- Avoid lines exceeding 80 columns.

Based on notes from rgrimes.

MFC with:	r348066
Event:		Waterloo Hackathon 2019
This commit is contained in:
Mark Johnston 2019-05-22 04:13:57 +00:00
parent 48faa24b09
commit d3f77d0afe
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=348090
2 changed files with 4 additions and 3 deletions

View File

@ -587,8 +587,8 @@ PRIVATE void
usage()
{
fprintf(stderr,
"usage: bootpd [-a] [-i | -s] [-c chdir-path] [-d level] [-h hostname] [-t timeout]\n");
fprintf(stderr, " [bootptab [dumpfile]]\n");
"usage: bootpd [-a] [-i | -s] [-c chdir-path] [-d level] [-h hostname]\n"
" [-t timeout] [bootptab [dumpfile]]\n");
fprintf(stderr, "\t -a\tdon't modify ARP table\n");
fprintf(stderr, "\t -c n\tset current directory\n");
fprintf(stderr, "\t -d n\tset debug level\n");

View File

@ -500,7 +500,8 @@ static void
usage()
{
fprintf(stderr,
"usage: \nbootpgw [-a] [-d level] [-h count] [-i] [-s] [-t timeout] [-w time] server\n");
"usage: bootpgw [-a] [-i | -s] [-d level] [-h count] [-t timeout]\n"
" [-w time] server\n");
fprintf(stderr, "\t -a\tdon't modify ARP table\n");
fprintf(stderr, "\t -d n\tset debug level\n");
fprintf(stderr, "\t -h n\tset max hop count\n");