diff options
author | Fabio Alessandro Locati <fale@redhat.com> | 2016-11-27 17:46:11 +0000 |
---|---|---|
committer | Fabio Alessandro Locati <fale@redhat.com> | 2016-11-27 17:46:11 +0000 |
commit | 45585924a301db14bfe06d95edc0cd722ee1d69f (patch) | |
tree | 832a1061aff83356edcd68204bc483c692789ef9 | |
parent | 2497c79cb58c2952bdf53aa629ae64cddacb20f3 (diff) |
Improve readme and help
-rw-r--r-- | README | 5 | ||||
-rw-r--r-- | brightnessctl.c | 6 |
2 files changed, 11 insertions, 0 deletions
@@ -18,3 +18,8 @@ Operations: m, max get maximum brightness of the device. s, set VALUE set brightness of the device. +Valid values: + specific value Example: 500 + percentage value Example: 50% + specific delta Example: 50- + percentage delta Example: 50%- diff --git a/brightnessctl.c b/brightnessctl.c index 4f47cd1..3810267 100644 --- a/brightnessctl.c +++ b/brightnessctl.c @@ -502,6 +502,12 @@ Operations:\n\ g, get\t\t\tget current brightness of the device.\n\ m, max\t\t\tget maximum brightness of the device.\n\ s, set VALUE\t\t\tset brightness of the device.\n\ +\n\ +Valid values:\n\ + specific value\t\tExample: 500\n\ + percentage value\t\tExample: 50%%\n\ + specific delta\t\tExample: 50-\n\ + percentage delta\t\tExample: 50%%-\n\ \n"); } |