gpiomon: fix shortops
authorBartosz Golaszewski <bartekgola@gmail.com>
Thu, 19 Jan 2017 14:10:10 +0000 (15:10 +0100)
committerBartosz Golaszewski <bartekgola@gmail.com>
Thu, 19 Jan 2017 14:10:10 +0000 (15:10 +0100)
The short option for --silent is missing in gpiomon. Add it.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
src/tools/gpiomon.c

index d6c8208e047389d6026788a9faeff1dd250d5a0f..ed50575284f241620e40894f0e7b94d76675f08c 100644 (file)
@@ -28,7 +28,7 @@ static const struct option longopts[] = {
        { 0 },
 };
 
-static const char *const shortopts = "+hvln:rf";
+static const char *const shortopts = "+hvln:srf";
 
 static void print_help(void)
 {