mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 03:57:44 +00:00
fix/dd ~ correct usage error display text
This commit is contained in:
parent
3d93e25160
commit
27d20129fe
1 changed files with 3 additions and 2 deletions
|
@ -415,8 +415,9 @@ impl std::fmt::Display for ParseError {
|
||||||
// Additional message about 'dd --help' is displayed only in this situation.
|
// Additional message about 'dd --help' is displayed only in this situation.
|
||||||
write!(
|
write!(
|
||||||
f,
|
f,
|
||||||
"invalid input flag: ‘{}’\nTry 'dd --help' for more information.",
|
"invalid input flag: ‘{}’\nTry '{} --help' for more information.",
|
||||||
arg
|
arg,
|
||||||
|
uucore::execution_phrase()
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
Self::ConvFlagNoMatch(arg) => {
|
Self::ConvFlagNoMatch(arg) => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue