diff options
author | Canop <cano.petrole@gmail.com> | 2022-06-07 18:59:31 +0200 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2022-06-07 18:59:31 +0200 |
commit | 1c61e362e614afebfd55591fbc37efde084795ad (patch) | |
tree | a449aa4864427dd38efad01b2d66bdb8e8a1ae75 /src/cli/mod.rs | |
parent | 4bcc94ba280eb342e585d9070ddc5adccfa39950 (diff) |
update from clap2 to clap3
Diffstat (limited to 'src/cli/mod.rs')
-rw-r--r-- | src/cli/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/mod.rs b/src/cli/mod.rs index 3bc64c5..29c5152 100644 --- a/src/cli/mod.rs +++ b/src/cli/mod.rs @@ -50,7 +50,7 @@ fn canonicalize_root(root: &Path) -> io::Result<PathBuf> { }) } -fn get_root_path(cli_args: &ArgMatches<'_>) -> Result<PathBuf, ProgramError> { +fn get_root_path(cli_args: &ArgMatches) -> Result<PathBuf, ProgramError> { let mut root = cli_args .value_of("ROOT") .map_or(env::current_dir()?, PathBuf::from); |