git: 4bad5bb129b8 - stable/13 - inetd: Use the synopsis from the manual page
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 13 Dec 2021 01:10:34 UTC
The branch stable/13 has been updated by 0mp (doc, ports committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=4bad5bb129b8f261d84a1d472c8a94384ea19ad4
commit 4bad5bb129b8f261d84a1d472c8a94384ea19ad4
Author: Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2021-12-06 21:09:32 +0000
Commit: Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2021-12-13 01:10:26 +0000
inetd: Use the synopsis from the manual page
Also, document -s in the usage message.
MFC after: 7 days
(cherry picked from commit 648b9ce80e0a65258213e36bc2437e1b25fe9bde)
---
usr.sbin/inetd/inetd.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/usr.sbin/inetd/inetd.c b/usr.sbin/inetd/inetd.c
index 6c4e26fad5cd..848714bd395a 100644
--- a/usr.sbin/inetd/inetd.c
+++ b/usr.sbin/inetd/inetd.c
@@ -394,9 +394,9 @@ main(int argc, char **argv)
case '?':
default:
syslog(LOG_ERR,
- "usage: inetd [-dlwW] [-a address] [-R rate]"
- " [-c maximum] [-C rate]"
- " [-p pidfile] [conf-file]");
+ "usage: inetd [-dlWw] [-a address] [-C rate]"
+ " [-c maximum] [-p filename] [-R rate]"
+ " [-s maximum] [configuration_file]");
exit(EX_USAGE);
}
/*