diff --git a/src/uu/chcon/src/chcon.rs b/src/uu/chcon/src/chcon.rs index 9bc035c17..59da8b68f 100644 --- a/src/uu/chcon/src/chcon.rs +++ b/src/uu/chcon/src/chcon.rs @@ -308,7 +308,7 @@ struct Options { } fn parse_command_line(config: clap::App, args: impl uucore::Args) -> Result { - let matches = config.get_matches_from_safe(args)?; + let matches = config.try_get_matches_from(args)?; let verbose = matches.is_present(options::VERBOSE);