summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-07-21 01:36:42 +0200
committerKay Sievers <kay.sievers@vrfy.org>2009-07-21 01:36:42 +0200
commit7a1566b0eeeb820751fcd351a79a2ed2f6c08499 (patch)
tree38c8edd0b541f06100120df01664acf3a1201efa
parent9093c7c132aa68052dcc64ef66cee8c31f088b02 (diff)
v4l_id: exit with 0 when --help is given
-rw-r--r--extras/v4l_id/v4l_id.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/v4l_id/v4l_id.c b/extras/v4l_id/v4l_id.c
index 59b4f2f737..d530a6d391 100644
--- a/extras/v4l_id/v4l_id.c
+++ b/extras/v4l_id/v4l_id.c
@@ -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;
}