git: 1a07c9d90cf2 - stable/13 - backlight(8): Update usage() to match the manual page
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 26 Jul 2022 08:03:35 UTC
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] <percent>\n"); - fprintf(stderr, "\tbacklight [-f dev] incr|+ <percent>\n"); - fprintf(stderr, "\tbacklight [-f dev] decr|- <percent>\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); }