From f14be5e07a0755ed403852a015c0e46427884524 Mon Sep 17 00:00:00 2001 From: Danil Akhtarov Date: Sat, 18 Nov 2023 03:11:07 +0300 Subject: [PATCH] fix!: remove clip alias --- README.md | 1 - src/main.rs | 3 --- 2 files changed, 4 deletions(-) diff --git a/README.md b/README.md index fd74767..8b762cc 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,6 @@ Usage: kdbx Commands: pwd Copy password and clear clipboard after specified amount of time - clip Alias to pwd totp Copy totp show Display entry's info add Add new entry diff --git a/src/main.rs b/src/main.rs index 4635190..85d9855 100644 --- a/src/main.rs +++ b/src/main.rs @@ -32,7 +32,6 @@ fn main() { if let Err(err) = match cli.command { Commands::Pwd(args) => commands::pwd::run(args), - Commands::Clip(args) => commands::pwd::run(args), Commands::Totp(args) => commands::totp::run(args), Commands::Show(args) => commands::show::run(args), Commands::Init(args) => commands::init::run(args), @@ -55,8 +54,6 @@ struct Cli { enum Commands { /// Copy password and clear clipboard after specified amount of time Pwd(commands::pwd::Args), - /// Alias to pwd - Clip(commands::pwd::Args), /// Copy totp Totp(commands::totp::Args), /// Display entry's info