From 0a30c43bb6c4a69abf2be13dd8e5c77f0c6b7538 Mon Sep 17 00:00:00 2001 From: Terts Diepraam Date: Tue, 18 Jan 2022 13:06:02 +0100 Subject: [PATCH] chcon: use try_get_matches_from --- src/uu/chcon/src/chcon.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);