Skip to content

Commit d52a240

Browse files
committed
style(man): rename misleading closure parameter from arg to alias
https://claude.ai/code/session_01CrXuWDMVQsiUBoy6ceACsF
1 parent 918f7cb commit d52a240

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/man_page.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ fn render_option_header_flag(out: &mut String, arg: &Arg) {
223223
.into_iter()
224224
.flatten()
225225
.map(roff_escape)
226-
.map(|arg| format!("\\fB\\-\\-{arg}\\fR"));
226+
.map(|alias| format!("\\fB\\-\\-{alias}\\fR"));
227227
let header = short.into_iter().chain(long).chain(aliases).join(", ");
228228
if arg.get_action().takes_values() {
229229
let value_str = render_value_hint(arg);

0 commit comments

Comments
 (0)