From nobody Tue Jul 26 08:03:35 2022 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 4LsTtw1d5wz4XVFg; Tue, 26 Jul 2022 08:03:36 +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 4LsTtv4sGWz3b10; Tue, 26 Jul 2022 08:03:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658822615; 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=EuRhxgE02cidLJps4vMvvvVsEU3/yJBShCd1mWlJ8bc=; b=Cjui5HRG/Brt6AuH7r1wtYK7uKUSz8uyPAAsvzUrqjqfBaORU31RI3DjCZFrCK2XPvmVUA W/5QdaeJkAG4iPeAT4lOgMvpBM+3+gb0WnaSj6QS0hPer0thCDcfHgpJs3O1jJVCe9GIAs Kyaf4JLcvnVKqWTZq6MzFJHsGIyPMMoLNhyuZ7ujSeseVuU/h1c9XrtLGN6gXTK15dv05T j+v4Bx7tctBqeKupfqkE/wKy12o8QnoXRqbFXGYuuX1QaE27sfuqftU6Br/Du/9uGoT0C4 RClXTIaeEU0nFOn5Y3SXk+44ViQyEpPXseqDbeHW5MBDEq8c0zViOEXH+Jek/w== 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 4LsTtv3ywgzVBS; Tue, 26 Jul 2022 08:03:35 +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 26Q83ZFV096454; Tue, 26 Jul 2022 08:03:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26Q83Ztc096453; Tue, 26 Jul 2022 08:03:35 GMT (envelope-from git) Date: Tue, 26 Jul 2022 08:03:35 GMT Message-Id: <202207260803.26Q83Ztc096453@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: 1a07c9d90cf2 - stable/13 - backlight(8): Update usage() to match 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/stable/13 X-Git-Reftype: branch X-Git-Commit: 1a07c9d90cf2e5ac0d9a4f540f56ed2a51264636 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658822615; 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=EuRhxgE02cidLJps4vMvvvVsEU3/yJBShCd1mWlJ8bc=; b=xQJLu8TFxmHnbgrGtBZC/MAHJPGrHz2xMasBgtU+VIkD0j9gB+tvUbc32Guvxn+e62v5Ww ycOcZgCzfjaYwbjti7+xEqokFYUJ7DebLITvtu4PqiQSEuJVGhYjB7fBOvcjT4dRqK6AyM qVsnR/mOA5yeKhQWla994JnGvBtA7ljqzsxzuruqVyiOPjDU1zwh0B9HhJ2Bho4Z5E4PcO T8DNZTGVGoc0iDPnuieVrTjQXgVfAGh4xsoAdExIOatcTHK5nQC685QuwKS2XDvcS8OCfm iI9rnh+tTYbnwOo2yV2F6ckuIDGfEZf7GYhNwfiXVLcgLE2OAwDQa/Sx9loUZQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658822615; a=rsa-sha256; cv=none; b=rL1hRsYXg1XxUlOHHfc2+dOem3wfELDXzXVjXKH1KfNg2EAcbk5rVfISwn1p+okLxhkdMG uQrfpOcCVX8cU2CC3Qwg/NUqSVW7fZYWTYUEFyFNDRA8kcUnoGSiS2BBWOY7XRazVX98m2 nzlAXfLkyhvEaM+1ovIRQ2Xn6FDakCC9ezEEU3l8Es2HjIFQ317hAuBdmiDBYoOQ6kEXVl NnV6ZZzGSzO/jyvGtluGAsjpbp3DBbdNgsN8ZqcMaQzk7g7/I7EFgalmqq5qSy/yyWyDz0 d/ABjE0YicwzF3bRigh3FCCvO6xhY9yggrN7G4D/vSg7deUv4x+GnCzGWnUlMQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by 0mp (doc, ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=1a07c9d90cf2e5ac0d9a4f540f56ed2a51264636 commit 1a07c9d90cf2e5ac0d9a4f540f56ed2a51264636 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2022-07-19 14:56:27 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2022-07-26 08:03:30 +0000 backlight(8): Update usage() to match the manual page MFC after: 1 week (cherry picked from commit f4b00609ec081f42af07168c7caa6766512749bd) --- usr.bin/backlight/backlight.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/usr.bin/backlight/backlight.c b/usr.bin/backlight/backlight.c index 7c3f295223f5..b90d46d49f64 100644 --- a/usr.bin/backlight/backlight.c +++ b/usr.bin/backlight/backlight.c @@ -65,11 +65,11 @@ static void usage(void) { fprintf(stderr, "Usage:\n"); - fprintf(stderr, "\tbacklight [-f dev]\n"); - fprintf(stderr, "\tbacklight [-f dev] -i\n"); - fprintf(stderr, "\tbacklight [-f dev] \n"); - fprintf(stderr, "\tbacklight [-f dev] incr|+ \n"); - fprintf(stderr, "\tbacklight [-f dev] decr|- \n"); + fprintf(stderr, "\tbacklight [-q] [-f device]\n"); + fprintf(stderr, "\tbacklight [-q] [-f device] -i\n"); + fprintf(stderr, "\tbacklight [-f device] value\n"); + fprintf(stderr, "\tbacklight [-f device] incr|+ value\n"); + fprintf(stderr, "\tbacklight [-f device] decr|- value\n"); exit(1); }