From: Ben Harris Date: Sat, 24 Nov 2018 11:26:30 +0000 (+0000) Subject: Change option to request use of libgpiod to -G. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=3f4ad54145b3a9a924b83863b1bea87cc4b6b010;p=clunk.git Change option to request use of libgpiod to -G. General plan: GPIO selection options are capital letters; other options lower-case. --- diff --git a/clunk.c b/clunk.c index 0637a71..6199b54 100644 --- a/clunk.c +++ b/clunk.c @@ -234,7 +234,7 @@ init(int argc, char **argv) while ((opt = getopt(argc, argv, "f:s:" #ifdef WITH_LIBGPIOD - "g:" + "G:" #endif /* WITH_LIBGPIOD */ )) != -1) { switch (opt) { @@ -245,7 +245,7 @@ init(int argc, char **argv) statestr = optarg; break; #ifdef WITH_LIBGPIOD - case 'g': + case 'G': init_libgpiod(optarg); break; #endif /* WITH_LIBGPIOD */