diff options
author | Thara Gopinath <thara.gopinath@linaro.org> | 2017-07-14 13:15:49 -0400 |
---|---|---|
committer | Lisa Nguyen <lisa.nguyen@linaro.org> | 2017-09-19 13:01:03 -0700 |
commit | 7dd9f3c7e20f0d123584d382c4b204bf4f9022c1 (patch) | |
tree | d9854d39d9081bc44e1db5a781c1983345b6de20 | |
parent | 1a32ec046dbb85823eeb2fb965a594614473d719 (diff) | |
download | powerdebug-7dd9f3c7e20f0d123584d382c4b204bf4f9022c1.tar.gz |
Add gpio option in the usage.
This patch adds info about -g/--gpio option in the usage section.
Signed-off-by: Thara Gopinath <thara.gopinath@linaro.org>
-rw-r--r-- | powerdebug.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/powerdebug.c b/powerdebug.c index 164126d..dc2c9bf 100644 --- a/powerdebug.c +++ b/powerdebug.c @@ -35,13 +35,14 @@ void usage(void) printf("Usage: powerdebug [OPTIONS]\n"); printf("\n"); printf("powerdebug -d [ -r ] [ -s ] [ -c [ -p <clock-name> ] ] " - "[ -v ]\n"); - printf("powerdebug [ -r | -s | -c ]\n"); + "[ -g ] [ -v ]\n"); + printf("powerdebug [ -r | -s | -c | -g]\n"); printf(" -r, --regulator Show regulator information\n"); printf(" -s, --sensor Show sensor information\n"); printf(" -c, --clock Show clock information\n"); printf(" -p, --findparents Show all parents for a particular" " clock\n"); + printf(" -g, --gpio Show gpio information\n"); printf(" -t, --time Set ticktime in seconds (eg. 10.0)\n"); printf(" -d, --dump Dump information once (no refresh)\n"); printf(" -v, --verbose Verbose mode (use with -r and/or" |