summaryrefslogtreecommitdiff
path: root/src/uanytun.c
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2008-12-28 14:10:15 +0000
committerChristian Pointner <equinox@anytun.org>2008-12-28 14:10:15 +0000
commit12e33be6b7de64e06c5b51330db34f2545f7087e (patch)
tree8ec7e6c48c41a85c71b4cdad4e2f5f92149d10e4 /src/uanytun.c
parentadded options parser (diff)
options parser almost done
Diffstat (limited to 'src/uanytun.c')
-rw-r--r--src/uanytun.c4
1 files changed, 3 insertions, 1 deletions
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);