summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
af1d41e)
Need to pass the single-byte verisons to getopt_long
Signed-off-by: Keith Packard <keithp@keithp.com>
int infinite = 0;
int bytes = 0;
int infinite = 0;
int bytes = 0;
- while ((c = getopt_long(argc, argv, "s:l:", options, NULL)) != -1) {
+ while ((c = getopt_long(argc, argv, "s:l:ib", options, NULL)) != -1) {
switch (c) {
case 's':
serial = optarg;
switch (c) {
case 's':
serial = optarg;