1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Break lines differently in example and synopsis section

This commit is contained in:
Michael Vetter 2020-12-07 16:45:17 +01:00
parent b1d0d6d0c3
commit c833bd7fea

View File

@ -2869,7 +2869,7 @@ command_mangen(void)
int i = 0; int i = 0;
while (pcmd->help.synopsis[i]) { while (pcmd->help.synopsis[i]) {
fprintf(manpage, "%s\n", pcmd->help.synopsis[i]); fprintf(manpage, "%s\n", pcmd->help.synopsis[i]);
fputs("\n.BR\n", manpage); fputs("\n.LP\n", manpage);
i++; i++;
} }
@ -2886,7 +2886,7 @@ command_mangen(void)
int i = 0; int i = 0;
while (pcmd->help.examples[i]) { while (pcmd->help.examples[i]) {
fprintf(manpage, "%s\n", pcmd->help.examples[i]); fprintf(manpage, "%s\n", pcmd->help.examples[i]);
fputs("\n.BR\n", manpage); fputs("\n.LP\n", manpage);
i++; i++;
} }
} }