From 50966877df4ed5acd46356a5a9129a76525aa1ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferenc=20W=C3=A1gner?= Date: Sat, 26 Dec 2020 16:06:28 +0100 Subject: [PATCH] doxygen2man: ignore all-whitespace brief descriptions --- doxygen2man/doxygen2man.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doxygen2man/doxygen2man.c b/doxygen2man/doxygen2man.c index d794b78e1..ca064cdf0 100644 --- a/doxygen2man/doxygen2man.c +++ b/doxygen2man/doxygen2man.c @@ -756,7 +756,7 @@ static void print_manpage(char *name, char *def, char *brief, char *args, char * fprintf(manfile, ".TH %s %s %s \"%s\" \"%s\"\n", allcaps(name), man_section, dateptr, package_name, header); fprintf(manfile, ".SH NAME\n"); - if (brief) { + if (brief && not_all_whitespace(brief)) { fprintf(manfile, "%s \\- %s\n", name, brief); } else { fprintf(manfile, "%s\n", name);