git: 648b9ce80e0a - main - inetd: Use the synopsis from the manual page
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 06 Dec 2021 21:15:59 UTC
The branch main has been updated by 0mp (doc, ports committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=648b9ce80e0a65258213e36bc2437e1b25fe9bde
commit 648b9ce80e0a65258213e36bc2437e1b25fe9bde
Author: Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2021-12-06 21:09:32 +0000
Commit: Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2021-12-06 21:15:19 +0000
inetd: Use the synopsis from the manual page
Also, document -s in the usage message.
MFC after: 7 days
---
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);
}
/*