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 59b4f2f737e54e38b910961293dce7e88932d6fe..d530a6d391748b678862bc8a18a9b40d25c386a5 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;
                }