From 5e2c438dabc74d7e87fad46c725501753a0a8a26 Mon Sep 17 00:00:00 2001 From: Conrad Ludgate Date: Tue, 18 Oct 2022 09:50:22 +0100 Subject: Upgrade clap (#568) --- src/command/client.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/command/client.rs') diff --git a/src/command/client.rs b/src/command/client.rs index 94148c09..f7b9d6fb 100644 --- a/src/command/client.rs +++ b/src/command/client.rs @@ -14,14 +14,14 @@ mod search; mod stats; #[derive(Subcommand)] -#[clap(infer_subcommands = true)] +#[command(infer_subcommands = true)] pub enum Cmd { /// Manipulate shell history - #[clap(subcommand)] + #[command(subcommand)] History(history::Cmd), /// Import shell history from file - #[clap(subcommand)] + #[command(subcommand)] Import(import::Cmd), /// Calculate statistics for your history @@ -31,7 +31,7 @@ pub enum Cmd { Search(search::Cmd), #[cfg(feature = "sync")] - #[clap(flatten)] + #[command(flatten)] Sync(sync::Cmd), } -- cgit v1.3.1