- Supports:
- linux
- win
- mac-os
no extra dependencies needed
Example adding arguments
arguments_t args;
arg_init(args, "Program_Name", "VERSION", 2);
arg_add(args, 'h', "help", "prints help", 0);
arg_add(args, 'a', "add", "adds a password to the database", 1);
Example parsing arguments
result_set_t parsed_arguments;
res_init(parsed_arguments);
arg_parse(args, parsed_arguments, argc, argv);
Auto generated help
arg_print_help(args);