From 26cbabcc20cb2df64ef16282816f83fdfe8bd732 Mon Sep 17 00:00:00 2001 From: greymoth Date: Sat, 27 Jun 2026 02:00:11 +0900 Subject: [PATCH] docs: fix invalid \`\fi\` font escape in man page (should be \`\fI\`) Two occurrences of \`\fi\` (lines 312/314, --command-name option) are not valid nroff/troff escape sequences; italic is \`\fI\` (uppercase I). All other italic spans in the file correctly use \`\fI\`. Fix both. Also correct \`\-\-time-unit\` in the SYNOPSIS (line 38) to \`\-\-time\-unit\` for consistency with every other hyphenated long option in that block (e.g. \`\-\-min\-runs\`, \`\-\-max\-runs\`). --- doc/hyperfine.1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/hyperfine.1 b/doc/hyperfine.1 index 449b470f2..f39e17a30 100644 --- a/doc/hyperfine.1 +++ b/doc/hyperfine.1 @@ -35,7 +35,7 @@ hyperfine \- command\-line benchmarking tool .IR TYPE ] .RB [ \-\-sort .IR METHOD ] -.RB [ \-\-time-unit +.RB [ \-\-time\-unit .IR UNIT ] .RB [ \-\-export\-asciidoc .IR FILE ] @@ -309,9 +309,9 @@ Read from \fI\,/dev/null\/\fP (the default). Read the input from the given file. .RE .HP -\fB\-n\fR, \fB\-\-command\-name\fR \fiNAME\fP +\fB\-n\fR, \fB\-\-command\-name\fR \fINAME\fP .IP -Give a meaningful \fiNAME\fP to a command. This can be specified multiple times +Give a meaningful \fINAME\fP to a command. This can be specified multiple times if several commands are benchmarked. .HP \fB\-h\fR, \fB\-\-help\fR