projects
/
media-ctl.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0700edb
)
Don't exit with an error when called with -h
author
Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 3 Jun 2010 12:00:24 +0000
(14:00 +0200)
committer
Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 3 Jun 2010 12:00:24 +0000
(14:00 +0200)
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
options.c
patch
|
blob
|
history
diff --git
a/options.c
b/options.c
index
5cc13f2
..
5e4c9f7
100644
(file)
--- 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;