mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-23 19:28:36 +00:00
Fix rtsold's usage message
- Remove -a from the usage message example dealing with specific interfaces. -a only makes sense when not specifying an interface, such that it's to be run on all interfaces - Fix the pidfile option (it's -p, not -P) - Change `interfaces` to `interface` to match the manpage MFC after: 3 days PR: 173744 Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
d04fda6cc4
commit
0ec7db6428
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=290182
|
@ -779,15 +779,15 @@ static void
|
|||
usage(void)
|
||||
{
|
||||
#ifndef SMALL
|
||||
fprintf(stderr, "usage: rtsold [-adDfFm1] [-O script-name] "
|
||||
"[-P pidfile] [-R script-name] interfaces...\n");
|
||||
fprintf(stderr, "usage: rtsold [-dDfFm1] [-O script-name] "
|
||||
"[-P pidfile] [-R script-name] -a\n");
|
||||
"[-p pidfile] [-R script-name] interface ...\n");
|
||||
fprintf(stderr, "usage: rtsold [-dDfFm1] [-O script-name] "
|
||||
"[-p pidfile] [-R script-name] -a\n");
|
||||
#else
|
||||
fprintf(stderr, "usage: rtsol [-dDF] [-O script-name] "
|
||||
"[-P pidfile] [-R script-name] interfaces...\n");
|
||||
"[-p pidfile] [-R script-name] interface ...\n");
|
||||
fprintf(stderr, "usage: rtsol [-dDF] [-O script-name] "
|
||||
"[-P pidfile] [-R script-name] -a\n");
|
||||
"[-p pidfile] [-R script-name] -a\n");
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue