projects
/
libam7xxx.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
picoproj: exit with success when the -h option is used
[libam7xxx.git]
/
src
/
picoproj.c
diff --git
a/src/picoproj.c
b/src/picoproj.c
index
0b9e45c
..
6e95fdb
100644
(file)
--- a/
src/picoproj.c
+++ b/
src/picoproj.c
@@
-89,6
+89,10
@@
int main(int argc, char *argv[])
exit(EXIT_FAILURE);
}
break;
+ case 'h':
+ usage(argv[0]);
+ exit(EXIT_SUCCESS);
+ break;
default: /* '?' */
usage(argv[0]);
exit(EXIT_FAILURE);