chiark
/
gitweb
/
~bjharris
/
clunk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
697f66a
)
Change option to request use of libgpiod to -G.
author
Ben Harris
<bjh21@bjh21.me.uk>
Sat, 24 Nov 2018 11:26:30 +0000
(11:26 +0000)
committer
Ben Harris
<bjh21@bjh21.me.uk>
Sat, 8 Dec 2018 22:30:09 +0000
(22:30 +0000)
General plan: GPIO selection options are capital letters; other
options lower-case.
clunk.c
patch
|
blob
|
history
diff --git
a/clunk.c
b/clunk.c
index 0637a71fbbf31dd0ac09f2dbc2d0fd6495522b63..6199b549878f2f0d5566a1d58ec830a8b0d41a0c 100644
(file)
--- 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 */