Skip to content

Commit 6056548

Browse files
Update src/uu/od/src/od.rs
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
1 parent a49a88e commit 6056548

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/uu/od/src/od.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -787,11 +787,6 @@ fn option_display_name(args: &[String], option_name: &str, short: Option<char>)
787787
}
788788
short_form
789789
} else {
790-
for arg in args.iter().skip(1) {
791-
if arg == &long_form || arg.starts_with(&long_form_with_eq) {
792-
return long_form.clone();
793-
}
794-
}
795790
long_form
796791
}
797792
}

0 commit comments

Comments
 (0)