mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 12:07:46 +00:00
fix/touch ~ correct usage error display text
This commit is contained in:
parent
d78e1e7399
commit
3d93e25160
1 changed files with 4 additions and 2 deletions
|
@ -71,8 +71,10 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
|
||||||
let files = matches.get_many::<OsString>(ARG_FILES).ok_or_else(|| {
|
let files = matches.get_many::<OsString>(ARG_FILES).ok_or_else(|| {
|
||||||
USimpleError::new(
|
USimpleError::new(
|
||||||
1,
|
1,
|
||||||
r##"missing file operand
|
format!(
|
||||||
Try 'touch --help' for more information."##,
|
"missing file operand\nTry '{} --help' for more information.",
|
||||||
|
uucore::execution_phrase()
|
||||||
|
),
|
||||||
)
|
)
|
||||||
})?;
|
})?;
|
||||||
let (mut atime, mut mtime) =
|
let (mut atime, mut mtime) =
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue