about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-12-07 17:25:22 +0100
committerMichael Vetter <jubalh@iodoru.org>2020-12-07 17:25:22 +0100
commit1bbdaec8e7eb3d4f6ef3238c9365e2ea49618123 (patch)
treeffd408aa1404b6c26e57f6091ea72d5ca25f12df
parent377a7b8e83f6d96e66801cc381f783bd14fd49ca (diff)
downloadprofani-tty-1bbdaec8e7eb3d4f6ef3238c9365e2ea49618123.tar.gz
Print man page arguments bold
-rw-r--r--src/command/cmd_defs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c
index fba0e89e..51772a27 100644
--- a/src/command/cmd_defs.c
+++ b/src/command/cmd_defs.c
@@ -2886,7 +2886,7 @@ command_mangen(void)
         if (pcmd->help.args[0][0] != NULL) {
             fputs("\n.SH ARGUMENTS\n", manpage);
             for (i = 0; pcmd->help.args[i][0] != NULL; i++) {
-                fprintf(manpage, ".PP\n%s\n", pcmd->help.args[i][0]);
+                fprintf(manpage, ".PP\n\\fB%s\\fR\n", pcmd->help.args[i][0]);
                 fprintf(manpage, ".RS 4\n%s\n.RE\n", pcmd->help.args[i][1]);
             }
         }