diff options
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -1,7 +1,15 @@ -#include <stdio.h> +#include "args.h" -int main() { - printf("hello world!"); +int main(int argc, char *argv[]) { + pow_args args = {0}; + + pow_args_parse(argc, argv, &args); + + if (args.flags & POW_FLAG_HELP) { + pow_args_print_help(); + + return 0; + } return 0; } |
