aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/client.rs
diff options
context:
space:
mode:
authorConrad Ludgate <conradludgate@gmail.com>2022-10-18 09:50:22 +0100
committerGitHub <noreply@github.com>2022-10-18 09:50:22 +0100
commit5e2c438dabc74d7e87fad46c725501753a0a8a26 (patch)
treec6e1b3aea892e7150cd1d94bd13c68ee2efcea42 /src/command/client.rs
parentAdd message begging for help lol 🐢 (#569) (diff)
downloadatuin-5e2c438dabc74d7e87fad46c725501753a0a8a26.zip
Upgrade clap (#568)
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),
}