chiark / gitweb /
v4l_id: exit with 0 when --help is given
authorKay Sievers <kay.sievers@vrfy.org>
Mon, 20 Jul 2009 23:36:42 +0000 (01:36 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Mon, 20 Jul 2009 23:36:42 +0000 (01:36 +0200)
extras/v4l_id/v4l_id.c

index 59b4f2f..d530a6d 100644 (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;
                }