diff options
| author | Conrad Ludgate <conradludgate@gmail.com> | 2022-10-18 09:50:22 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-18 09:50:22 +0100 |
| commit | 5e2c438dabc74d7e87fad46c725501753a0a8a26 (patch) | |
| tree | c6e1b3aea892e7150cd1d94bd13c68ee2efcea42 /src/command/client.rs | |
| parent | Add message begging for help lol 🐢 (#569) (diff) | |
| download | atuin-5e2c438dabc74d7e87fad46c725501753a0a8a26.zip | |
Upgrade clap (#568)
Diffstat (limited to 'src/command/client.rs')
| -rw-r--r-- | src/command/client.rs | 8 |
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), } |
