X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=config%2Fzconf.y;h=4dad8e5c620b1012e089f5486e491661a27fdcaf;hb=04272dbc3dfed9d035a6359ff85101cddcd26bde;hp=f2b97443142dbc734efacd913a274a89f1167f16;hpb=2f1132cbcec40e431991cda7ff3744455b46c3df;p=carl9170fw.git diff --git a/config/zconf.y b/config/zconf.y index f2b9744..4dad8e5 100644 --- a/config/zconf.y +++ b/config/zconf.y @@ -431,6 +431,11 @@ help_start: T_HELP T_EOL help: help_start T_HELPTEXT { + if (current_entry->help) { + free(current_entry->help); + zconfprint("warning: '%s' defined with more than one help text -- only the last one will be used", + current_entry->sym->name ?: ""); + } current_entry->help = $2; };