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/link.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'dotup_cli/src/commands/link.rs') diff --git a/dotup_cli/src/commands/link.rs b/dotup_cli/src/commands/link.rs index 66194e1..d1f61ea 100644 --- a/dotup_cli/src/commands/link.rs +++ b/dotup_cli/src/commands/link.rs @@ -10,8 +10,7 @@ use super::prelude::*; /// If a link is created for a file that already had a link then the old link will be overwritten. /// By default creating a link to a directory will recursively link all files under that /// directory, to actually link a directory use the --directory flag. -#[derive(Clap)] -#[clap(setting = AppSettings::ColoredHelp)] +#[derive(Parser)] pub struct Opts { /// Treats the paths as directories. This will create links to the actual directories instead /// of recursively linking all files under them. -- cgit