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/init.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'dotup_cli/src/commands/init.rs') diff --git a/dotup_cli/src/commands/init.rs b/dotup_cli/src/commands/init.rs index b894924..45129bf 100644 --- a/dotup_cli/src/commands/init.rs +++ b/dotup_cli/src/commands/init.rs @@ -4,8 +4,7 @@ use super::prelude::*; /// /// By default this will create the file in the current directory /// but the --depot flag can be used to change this path. -#[derive(Clap)] -#[clap(setting = AppSettings::ColoredHelp)] +#[derive(Parser)] pub struct Opts {} pub fn main(config: Config, opts: Opts) -> anyhow::Result<()> { -- cgit