1
/* test_sections_option_help.c test */
3
/* test option help fields in the presence of sections */
8
#include "test_sections_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_sections_cmd_parser_init (&args_info);
19
PRINT_OPTION(help_help);
20
PRINT_OPTION(version_help);
21
PRINT_OPTION(string_help);
22
PRINT_OPTION(int_help);
23
PRINT_OPTION(short_help);
24
PRINT_OPTION(long_help);
25
PRINT_OPTION(float_help);
26
PRINT_OPTION(double_help);
27
PRINT_OPTION(longdouble_help);
28
PRINT_OPTION(longlong_help);
29
PRINT_OPTION(flag_help);
30
PRINT_OPTION(function_help);
31
PRINT_OPTION(no_short_help);
32
PRINT_OPTION(required_help);