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/mod.rs | |
| parent | Add message begging for help lol 🐢 (#569) (diff) | |
| download | atuin-5e2c438dabc74d7e87fad46c725501753a0a8a26.zip | |
Upgrade clap (#568)
Diffstat (limited to '')
| -rw-r--r-- | src/command/mod.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/command/mod.rs b/src/command/mod.rs index df6b66e9..038b24c8 100644 --- a/src/command/mod.rs +++ b/src/command/mod.rs @@ -13,19 +13,19 @@ mod init; mod contributors; #[derive(Subcommand)] -#[clap(infer_subcommands = true)] +#[command(infer_subcommands = true)] pub enum AtuinCmd { #[cfg(feature = "client")] - #[clap(flatten)] + #[command(flatten)] Client(client::Cmd), /// Start an atuin server #[cfg(feature = "server")] - #[clap(subcommand)] + #[command(subcommand)] Server(server::Cmd), /// Output shell setup - #[clap(subcommand)] + #[command(subcommand)] Init(init::Cmd), /// Generate a UUID @@ -36,11 +36,11 @@ pub enum AtuinCmd { /// Generate shell completions GenCompletions { /// Set the shell for generating completions - #[clap(long, short)] + #[arg(long, short)] shell: Shell, /// Set the output directory - #[clap(long, short)] + #[arg(long, short)] out_dir: Option<String>, }, } |
