From 4bad5bb129b8f261d84a1d472c8a94384ea19ad4 Mon Sep 17 00:00:00 2001 From: Mateusz Piotrowski <0mp@FreeBSD.org> Date: Mon, 6 Dec 2021 22:09:32 +0100 Subject: [PATCH] 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 6c4e26fad5c..848714bd395 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); } /*