summaryrefslogtreecommitdiff
path: root/options.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2010-06-03 14:00:24 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2010-06-03 14:00:24 +0200
commit37702f7e2290e1ab84057279d4d94b4e26ed199f (patch)
treee96d9fda813fd49d029b4303c54938fd4a7c33fb /options.c
parent0700edb0d8fb3965cc80a2c30b101cab35d0b93f (diff)
Don't exit with an error when called with -h
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'options.c')
-rw-r--r--options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/options.c b/options.c
index 5cc13f2..5e4c9f7 100644
--- a/options.c
+++ b/options.c
@@ -86,7 +86,7 @@ int parse_cmdline(int argc, char **argv)
case 'h':
usage(argv[0]);
- return 1;
+ exit(0);
case 'i':
media_opts.interactive = 1;