From c4cda76c6f02bc04d31761a54470434d8e1d60b8 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Tue, 24 Jan 2012 10:41:47 +0100 Subject: [PATCH 1/1] picoproj: exit with success when the -h option is used --- src/picoproj.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/picoproj.c b/src/picoproj.c index 0b9e45c..6e95fdb 100644 --- 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); -- 2.1.4