aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/client.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/command/client.rs8
1 files changed, 4 insertions, 4 deletions
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),
}