mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 03:57:44 +00:00
Adjust the code after https://github.com/uutils/coreutils/pull/3832
This commit is contained in:
parent
85e6f8659f
commit
6f6784f113
1 changed files with 2 additions and 3 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue