chiark / gitweb /
v4l_id: exit with 0 when --help is given
[elogind.git] / 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;
                }