gpio: Fixed usage message.
authorFredrik Tolf <fredrik@dolda2000.com>
Fri, 14 Sep 2018 21:58:55 +0000 (23:58 +0200)
committerFredrik Tolf <fredrik@dolda2000.com>
Fri, 14 Sep 2018 21:58:55 +0000 (23:58 +0200)
gpio.c

diff --git a/gpio.c b/gpio.c
index 4b82229..5c1d718 100644 (file)
--- a/gpio.c
+++ b/gpio.c
@@ -122,7 +122,7 @@ static int getport(int p)
 
 static void usage(FILE *out)
 {
-    fprintf(out, "usage: gpio [-hip] PORT=VAL...\n");
+    fprintf(out, "usage: gpio [-hip] {PORT=VAL|PORT==VAL|PORT?}...\n");
 }
 
 int main(int argc, char **argv)