mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-28 06:35:34 +07:00
v4l_id: exit with 0 when --help is given
This commit is contained in:
parent
9093c7c132
commit
7a1566b0ee
@ -52,6 +52,7 @@ int main (int argc, char *argv[])
|
||||
switch (option) {
|
||||
case 'h':
|
||||
printf("Usage: v4l_id [--help] <device file>\n\n");
|
||||
return 0;
|
||||
default:
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user