From: Kay Sievers Date: Mon, 20 Jul 2009 23:36:42 +0000 (+0200) Subject: v4l_id: exit with 0 when --help is given X-Git-Tag: 174~882 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=7a1566b0eeeb820751fcd351a79a2ed2f6c08499 v4l_id: exit with 0 when --help is given --- diff --git a/extras/v4l_id/v4l_id.c b/extras/v4l_id/v4l_id.c index 59b4f2f73..d530a6d39 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; }