diff options
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>, |
