From nobody Mon Dec 06 21:15:59 2021 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 1C24418D763A; Mon, 6 Dec 2021 21:16:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J7GSJ1WwYz3FxD; Mon, 6 Dec 2021 21:16:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C86A11335D; Mon, 6 Dec 2021 21:15:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1B6LFx4b067507; Mon, 6 Dec 2021 21:15:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B6LFxxU067506; Mon, 6 Dec 2021 21:15:59 GMT (envelope-from git) Date: Mon, 6 Dec 2021 21:15:59 GMT Message-Id: <202112062115.1B6LFxxU067506@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: 648b9ce80e0a - main - inetd: Use the synopsis from the manual page List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: 0mp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 648b9ce80e0a65258213e36bc2437e1b25fe9bde Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638825360; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=OM8CgW92TGzaR86XepF8NXDItkREtXb3OpnguZfdq3I=; b=eOS2guAUdnmttnGJrvZwwTZnJJs9YxckMECwTRXlJdVtLJ8yIR+hE/eunzQqgFuLInWc4L hgboGTTPHPz6y+kRdVgP/gsLidlylIolBdWiUuLxa8OQyzYjH1yx3gQ6aI56Ujozp2JFrU WjmiaQW5LM0kX2/kbsEBimsf3YSbxSAR4FFBbm3Bd39RGpBWHqj+FwZKv2mGDwRR7mMuZ3 FHjw5hbAuEClwNWbSROPiwVcjx215zpgM4gCpVSLe7nqQ0b7PaHFGfRJvIjzC/3QNakrhD rktURA13f+TElh9SqqWWTEnywoia/lZfKy2QnkpaeHuOxTFswoRm81Fj8EaSdw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638825360; a=rsa-sha256; cv=none; b=m6YjTZGmynbwRR3cNLRTttG2cgLJ9XWjJoGURanM5R50HwcpsOh/WvfgUlkBVFKYEp3pNY 57LonSjmb99x9BNayAiBpTwK5bL9Veq3zInGPDcNhbrAxZhDzAG6HxqvblNkLFWugp9r1p 82/WsO2busPTc6mA6mu7v4mGbvBgkic/ktpvrZYLiPZIZw5+SpYIltnhzIa1ygF7bky17m l0o9ouBsDUILE7jIZJR+XaSwl/yGIn/EL5IT6ikTrqDsbuOT87qthfqn2LJyZrUCDlw5LT PvwZEANS6SpX2gDK5i5mpJhz8aTTlQrjI7nwLmvwiBDU+nrviW89PS+6oZ78BQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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); } /*