mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-10-15 02:00:50 +00:00
v4l_id: exit with 0 when --help is given
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user