RSB-4210 User Manual 74
break;
case 't':
type = strtoul(optarg, NULL, 0);
break;
case 'p':
proto = strtoul(optarg, NULL, 0);
break;
case 'v':
verbose = 1;
break;
case 'l':
if (optarg)
loopcount = strtoul(optarg, NULL, 0);
else
infinite = 1;
break;
case 'i':
frame.can_id = strtoul(optarg, NULL, 0);
break;
case 'r':
rtr = 1;
break;
case 'e':
extended = 1;
break;
case 'R':
Relay=1;
break;
case VERSION_OPTION:
printf("cansend %s\n", VERSION);
exit(0);
default:
fprintf(stderr, "Unknown option %c\n", opt);
break;
}
}
if (optind == argc) {
Comments to this Manuals