diff options
author | Hummer12007 <hilobakho@gmail.com> | 2016-11-27 21:03:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-27 21:03:43 +0200 |
commit | fda7110dd5b964d2dfb67a4feb42f9729e43702e (patch) | |
tree | 832a1061aff83356edcd68204bc483c692789ef9 | |
parent | 2497c79cb58c2952bdf53aa629ae64cddacb20f3 (diff) | |
parent | 45585924a301db14bfe06d95edc0cd722ee1d69f (diff) |
Merge pull request #4 from Fale/readme
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"); } |