mirror of
https://github.com/linux-can/can-utils.git
synced 2026-09-23 00:21:14 +02:00
Consistencely allow '-?' to get a help text.
This commit is contained in:
+1
-1
@@ -212,7 +212,7 @@ int main(int argc, char **argv)
|
||||
for (i=0; i < 2048 ;i++) /* default: check all CAN-IDs */
|
||||
do_set(i, ENABLE);
|
||||
|
||||
while ((opt = getopt(argc, argv, "m:v:r:t:h:l:qbBcf")) != -1) {
|
||||
while ((opt = getopt(argc, argv, "m:v:r:t:h:l:qbBcf?")) != -1) {
|
||||
switch (opt) {
|
||||
case 'm':
|
||||
sscanf(optarg, "%x", &mask);
|
||||
|
||||
Reference in New Issue
Block a user