mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
chcon: use try_get_matches_from
This commit is contained in:
parent
e345768484
commit
0a30c43bb6
1 changed files with 1 additions and 1 deletions
|
@ -308,7 +308,7 @@ struct Options {
|
|||
}
|
||||
|
||||
fn parse_command_line(config: clap::App, args: impl uucore::Args) -> Result<Options> {
|
||||
let matches = config.get_matches_from_safe(args)?;
|
||||
let matches = config.try_get_matches_from(args)?;
|
||||
|
||||
let verbose = matches.is_present(options::VERBOSE);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue