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/sync | |
| parent | Add message begging for help lol 🐢 (#569) (diff) | |
| download | atuin-5e2c438dabc74d7e87fad46c725501753a0a8a26.zip | |
Upgrade clap (#568)
Diffstat (limited to 'src/command/client/sync')
| -rw-r--r-- | src/command/client/sync/login.rs | 3 | ||||
| -rw-r--r-- | src/command/client/sync/register.rs | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/command/client/sync/login.rs b/src/command/client/sync/login.rs index 29222563..333a1514 100644 --- a/src/command/client/sync/login.rs +++ b/src/command/client/sync/login.rs @@ -1,6 +1,6 @@ use std::io; -use clap::{AppSettings, Parser}; +use clap::Parser; use eyre::Result; use tokio::{fs::File, io::AsyncWriteExt}; @@ -9,7 +9,6 @@ use atuin_common::api::LoginRequest; use rpassword::prompt_password; #[derive(Parser)] -#[clap(setting(AppSettings::DeriveDisplayOrder))] pub struct Cmd { #[clap(long, short)] pub username: Option<String>, diff --git a/src/command/client/sync/register.rs b/src/command/client/sync/register.rs index 2b5b9ced..6b51fac8 100644 --- a/src/command/client/sync/register.rs +++ b/src/command/client/sync/register.rs @@ -1,11 +1,10 @@ -use clap::{AppSettings, Parser}; +use clap::Parser; use eyre::Result; use tokio::{fs::File, io::AsyncWriteExt}; use atuin_client::{api_client, settings::Settings}; #[derive(Parser)] -#[clap(setting(AppSettings::DeriveDisplayOrder))] pub struct Cmd { #[clap(long, short)] pub username: Option<String>, |
