From 3b4b9aa6bc041f1e24761e94b1c052ad20f9ca66 Mon Sep 17 00:00:00 2001 From: diogo464 Date: Sat, 30 Oct 2021 20:55:22 +0100 Subject: update to compile with new clap version --- dotup_cli/src/commands/unlink.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'dotup_cli/src/commands/unlink.rs') diff --git a/dotup_cli/src/commands/unlink.rs b/dotup_cli/src/commands/unlink.rs index f33fe60..abe23e3 100644 --- a/dotup_cli/src/commands/unlink.rs +++ b/dotup_cli/src/commands/unlink.rs @@ -10,8 +10,7 @@ use super::prelude::*; /// This will recursively remove links. If a path is a directory then it will remove all links /// recursively. /// The links are not uninstall by default, see the --uninstall parameter. -#[derive(Clap)] -#[clap(setting = AppSettings::ColoredHelp)] +#[derive(Parser)] pub struct Opts { /// Specify the install base if the links are also to be uninstalled. #[clap(long)] -- cgit