projects
/
libam7xxx.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2834def
)
picoproj: exit with success when the -h option is used
author
Antonio Ospite <ospite@studenti.unina.it>
Tue, 24 Jan 2012 09:41:47 +0000
(10:41 +0100)
committer
Antonio Ospite <ospite@studenti.unina.it>
Wed, 25 Jan 2012 14:54:05 +0000
(15:54 +0100)
src/picoproj.c
patch
|
blob
|
history
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);