1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 19:47:45 +00:00
This commit is contained in:
Sylvestre Ledru 2022-08-18 10:52:25 +02:00
parent 85e6f8659f
commit 6f6784f113

View file

@ -17,7 +17,7 @@ use std::io::{self, stdout};
use std::ops::ControlFlow;
use std::os::unix::io::{AsRawFd, RawFd};
use uucore::error::{UResult, USimpleError};
use uucore::{format_usage, InvalidEncodingHandling};
use uucore::format_usage;
#[cfg(not(any(
target_os = "freebsd",
@ -138,8 +138,7 @@ ioctl_write_ptr_bad!(
#[uucore::main]
pub fn uumain(args: impl uucore::Args) -> UResult<()> {
let args = args
.collect_str(InvalidEncodingHandling::ConvertLossy)
.accept_any();
.collect_lossy();
let matches = uu_app().get_matches_from(args);