mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
fix/touch ~ correct usage error display text
This commit is contained in:
@@ -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) =
|
||||
|
||||
Reference in New Issue
Block a user