1
/* test_groups_option_help.c test */
3
/* test option help fields in the presence of groups */
8
#include "test_groups_cmd.h"
10
#define PRINT_OPTION(s) printf("%s: %s\n", # s, args_info.s)
12
static struct gengetopt_args_info args_info;
15
main (int argc, char **argv)
17
test_groups_cmd_parser_init (&args_info);
19
PRINT_OPTION(help_help);
20
PRINT_OPTION(version_help);
21
PRINT_OPTION(opta_help);
22
PRINT_OPTION(optA_help);
23
PRINT_OPTION(optAmul_help);
24
PRINT_OPTION(optb_help);
25
PRINT_OPTION(optc_help);
26
PRINT_OPTION(optd_help);
28
test_groups_cmd_parser_free (&args_info);