mirror of
https://github.com/uutils/coreutils
synced 2024-12-13 23:02:38 +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(|| {
|
||||
USimpleError::new(
|
||||
1,
|
||||
r##"missing file operand
|
||||
Try 'touch --help' for more information."##,
|
||||
format!(
|
||||
"missing file operand\nTry '{} --help' for more information.",
|
||||
uucore::execution_phrase()
|
||||
),
|
||||
)
|
||||
})?;
|
||||
let (mut atime, mut mtime) =
|
||||
|
|
Loading…
Reference in a new issue