From 7dd9f3c7e20f0d123584d382c4b204bf4f9022c1 Mon Sep 17 00:00:00 2001 From: Thara Gopinath Date: Fri, 14 Jul 2017 13:15:49 -0400 Subject: Add gpio option in the usage. This patch adds info about -g/--gpio option in the usage section. Signed-off-by: Thara Gopinath --- powerdebug.c | 5 +++-- 1 file 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 ] ] " - "[ -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" -- cgit v1.2.3