X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=config%2Fzconf.y;h=02c8550147e5694a0b6773ae587f51bc18626bc1;hb=1822e0e755a34e8f31dba5a03b7d0006eb7c803c;hp=1aa9859726b365f732787d54d350d560c8a94f1a;hpb=3dc782557da1337d56609efe08d2000ea41f9890;p=carl9170fw.git diff --git a/config/zconf.y b/config/zconf.y index 1aa9859..02c8550 100644 --- a/config/zconf.y +++ b/config/zconf.y @@ -436,6 +436,12 @@ help: help_start T_HELPTEXT zconfprint("warning: '%s' defined with more than one help text -- only the last one will be used", current_entry->sym->name ?: ""); } + + /* Is the help text empty or all whitespace? */ + if ($2[strspn($2, " \f\n\r\t\v")] == '\0') + zconfprint("warning: '%s' defined with blank help text", + current_entry->sym->name ?: ""); + current_entry->help = $2; };