mirror of
http://www.pogo.org.uk/~mark/trx.git
synced 2024-11-25 03:45:05 +01:00
Acknowledge channel argument
This commit is contained in:
parent
2aa7a2da12
commit
6e79ca46c9
5
rx.c
5
rx.c
@ -153,11 +153,14 @@ int main(int argc, char *argv[])
|
|||||||
for (;;) {
|
for (;;) {
|
||||||
int c;
|
int c;
|
||||||
|
|
||||||
c = getopt(argc, argv, "d:h:j:m:p:v:");
|
c = getopt(argc, argv, "c:d:h:j:m:p:v:");
|
||||||
if (c == -1)
|
if (c == -1)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
switch (c) {
|
switch (c) {
|
||||||
|
case 'c':
|
||||||
|
channels = atoi(optarg);
|
||||||
|
break;
|
||||||
case 'd':
|
case 'd':
|
||||||
device = optarg;
|
device = optarg;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user