From nobody Tue Jul 19 14:59:00 2022 X-Original-To: dev-commits-src-main@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 4LnMRT14rpz4TJ3l; Tue, 19 Jul 2022 14:59: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 4LnMRT0Xzdz3kKy; Tue, 19 Jul 2022 14:59:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658242741; 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=/gj+WwT9BWosVQ3EzIK1pwaljvAHzgAvZ0hg0j2mXoc=; b=GG2XuBP2ayL4osbJaU7VRpUdThBOikt07Ricks83H61t3atnmD0a9PbKIW+8FyIjPbzR5l Ob5JPauBYIVEKd5u6xfP3XJ2jHVOiIid4trPygiSY30+pmZ/hhfbZ28ZZ9ZUhXWpVZqpuY yehj/dYCf/OytDG9Fu4+L0qJ5t+teACUXnsw3Lg5qptwYsocsuzaGyWirzR271xOtpK/Qs wzSMQ5SW3cd+buPZXIiW7vjz4FOteZB6FMtfzh+KQZltQ7duWkzkmQSz+qC1+rcgxKcF3X TtuZNIeip4lnbjH9T+3pC+yC+bUBCf1gVMDMDwwt4YxYffTFXZaRtNPvHGh/Fg== 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 4LnMRS6k9ZzN06; Tue, 19 Jul 2022 14:59:00 +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 26JEx09k019404; Tue, 19 Jul 2022 14:59:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26JEx0o3019403; Tue, 19 Jul 2022 14:59:00 GMT (envelope-from git) Date: Tue, 19 Jul 2022 14:59:00 GMT Message-Id: <202207191459.26JEx0o3019403@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: f4b00609ec08 - main - backlight(8): Update usage() to match the manual page List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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: f4b00609ec081f42af07168c7caa6766512749bd Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658242741; 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=/gj+WwT9BWosVQ3EzIK1pwaljvAHzgAvZ0hg0j2mXoc=; b=ItbwHpIRima5ss3TSNqXw+eQQ4xrVt3dSbKD8I/9rtRFDKxQvuxebbRSzz9NAX1moRDyZj 3tsYaJIym3E6yeMvV2Ak/qIo9NSxfJImATv7i25IifMuV1sJcQVdjDKvIcDj6EWwtOfk8D 4NjQUlfzgxhlBh5Gk3jt649VuqVc53Qps/eqYtOyIVrMPqS5F7N8GDY7J8sPWzHN76AsT4 ia9sG7TCz4VHVX6x7rP2Q0+baoWYClxC4bN4NAHBr8tlUrPcUZ50ndb0RIptCQcZ01A4qo 7tpgzK7cbCLLUE/2AiAwitT9o4IJ5qEqs2UpdzragGE73cg8B8urWPvC1B6KmA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658242741; a=rsa-sha256; cv=none; b=ZaF+SuYNUscfCSd3h6HQbv3HRqBmhtodKyJH3lEUuPp9pyKjhWeSYyiL2jwKrkVDpYbual aYhSsinJOAABCnF6I6+IEQUNYxQS1Znc7hEkoyuCqjbVDe2y45TeiUZ6VkN3y3Smzjihz8 A4acwN/SIEtVy9Vu5s1faQN0mTaKXtRcd7PS+3c4r/JnHq8P5QkYyw3kRXYpFmaaHcrHUf xSGL0GKNvIzu1AxcL8aQjEyqq1r+a72B/Uq9JpjO0bYV7adbJqbesZ8eq+mZP80exqJR+r yXtJueDR5Uqqcexl5Tl4uKRmiSOFWaSpzGp/SaFPoAO33cicQ8v3nH9I0LLTRw== 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=f4b00609ec081f42af07168c7caa6766512749bd commit f4b00609ec081f42af07168c7caa6766512749bd Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2022-07-19 14:56:27 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2022-07-19 14:56:27 +0000 backlight(8): Update usage() to match the manual page MFC after: 1 week --- 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); }