Skip to content

Commit 0b58d54

Browse files
sylvestrecakebaker
andauthored
Update src/uucore/src/lib/mods/clap_localization.rs
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
1 parent dc37a9f commit 0b58d54

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/uucore/src/lib/mods/clap_localization.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,7 @@ impl<'a> ErrorFormatter<'a> {
153153

154154
// Print main error
155155
eprintln!(
156-
"{}: {}",
157-
self.util_name,
156+
"{}",
158157
translate!(
159158
"clap-error-unexpected-argument",
160159
"arg" => self.color_mgr.colorize(&arg_str, Color::Yellow),

0 commit comments

Comments
 (0)