From 7a1566b0eeeb820751fcd351a79a2ed2f6c08499 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Tue, 21 Jul 2009 01:36:42 +0200 Subject: v4l_id: exit with 0 when --help is given --- extras/v4l_id/v4l_id.c | 1 + 1 file changed, 1 insertion(+) (limited to 'extras/v4l_id/v4l_id.c') 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] \n\n"); + return 0; default: return 1; } -- cgit v1.2.3-54-g00ecf