From: Bartosz Golaszewski Date: Thu, 19 Jan 2017 14:10:10 +0000 (+0100) Subject: gpiomon: fix shortops X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f22e98597a7c6f4d0eb49fc81a297969a743518c;p=qemu-gpiodev%2Flibgpiod.git gpiomon: fix shortops The short option for --silent is missing in gpiomon. Add it. Signed-off-by: Bartosz Golaszewski --- diff --git a/src/tools/gpiomon.c b/src/tools/gpiomon.c index d6c8208..ed50575 100644 --- a/src/tools/gpiomon.c +++ b/src/tools/gpiomon.c @@ -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) {