aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Hummer12007 <hilobakho@gmail.com>2016-11-27 21:03:43 +0200
committerGravatar GitHub <noreply@github.com>2016-11-27 21:03:43 +0200
commitfda7110dd5b964d2dfb67a4feb42f9729e43702e (patch)
tree832a1061aff83356edcd68204bc483c692789ef9
parent2497c79cb58c2952bdf53aa629ae64cddacb20f3 (diff)
parent45585924a301db14bfe06d95edc0cd722ee1d69f (diff)
Merge pull request #4 from Fale/readme
Improve readme and help
-rw-r--r--README5
-rw-r--r--brightnessctl.c6
2 files changed, 11 insertions, 0 deletions
diff --git a/README b/README
index f034049..34c784c 100644
--- a/README
+++ b/README
@@ -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");
}