From 12e33be6b7de64e06c5b51330db34f2545f7087e Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 28 Dec 2008 14:10:15 +0000 Subject: options parser almost done --- src/uanytun.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/uanytun.c') diff --git a/src/uanytun.c b/src/uanytun.c index 68df6b6..53a6219 100644 --- a/src/uanytun.c +++ b/src/uanytun.c @@ -115,8 +115,10 @@ int main(int argc, char* argv[]) options_t* opt; int ret = options_parse(&opt, argc, argv); - if(ret) + if(ret) { + options_print_usage(); exit(ret); + } options_print(opt); -- cgit v1.2.3