git: f4b00609ec08 - main - backlight(8): Update usage() to match the manual page
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 19 Jul 2022 14:59:00 UTC
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] <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); }