Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Dec 2021 01:10:34 GMT
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 4bad5bb129b8 - stable/13 - inetd: Use the synopsis from the manual page
Message-ID:  <202112130110.1BD1AY7P022730@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 		}
 	/*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112130110.1BD1AY7P022730>