mirror of
https://github.com/uutils/coreutils
synced 2024-11-17 10:18:11 +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…
Reference in a new issue