}
};
-static struct opt_section help = {
+static struct opt_section options = {
OPT_ITEMS {
OPT_HELP("A simple tea boiling console."),
OPT_HELP("Usage: teapot [options] name-of-the-tea"),
OPT_HELP("At least one kind of tea must be specified."),
OPT_HELP(""),
OPT_HELP("Options:"),
- OPT_HELP_OPTION(help),
+ OPT_HELP_OPTION,
OPT_CALL('V', "version", show_version, NULL, OPT_NO_VALUE, "\tShow the version"),
OPT_HELP(""),
OPT_BOOL('e', "english-style", english, 0, "\tEnglish style (with milk)"),
{
cf_def_file = "etc/libucw";
clist_init(&black_magic);
- opt_parse(&help, argv+1);
+ opt_parse(&options, argv+1);
printf("English style: %s|", english ? "yes" : "no");
if (sugar)