From 45585924a301db14bfe06d95edc0cd722ee1d69f Mon Sep 17 00:00:00 2001 From: Fabio Alessandro Locati Date: Sun, 27 Nov 2016 17:46:11 +0000 Subject: Improve readme and help --- README | 5 +++++ brightnessctl.c | 6 ++++++ 2 files changed, 11 insertions(+) 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"); } -- cgit v1.2.3