v4l_id: exit with 0 when --help is given

This commit is contained in:
Kay Sievers 2009-07-21 01:36:42 +02:00
parent 9093c7c132
commit 7a1566b0ee

View file

@ -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;
}