aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2024-04-20 14:59:34 -0400
committerJesse Luehrs <doy@tozt.net>2024-04-20 14:59:34 -0400
commitcb0dfaa6de7a0246b5d407625521e0947ae38169 (patch)
treee41d4fb4ab8582d1c20000e1f687b7563b104b49
parent52cd14086afbfae2a0ad26254c69508badbfbd67 (diff)
downloadrbw-cb0dfaa6de7a0246b5d407625521e0947ae38169.tar.gz
rbw-cb0dfaa6de7a0246b5d407625521e0947ae38169.zip
alias `rbw totp` to `rbw code`
-rw-r--r--src/bin/rbw/main.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bin/rbw/main.rs b/src/bin/rbw/main.rs
index 05dfa2b..eefa52a 100644
--- a/src/bin/rbw/main.rs
+++ b/src/bin/rbw/main.rs
@@ -87,7 +87,10 @@ enum Opt {
clipboard: bool,
},
- #[command(about = "Display the authenticator code for a given entry")]
+ #[command(
+ about = "Display the authenticator code for a given entry",
+ visible_alias = "totp"
+ )]
Code {
#[arg(help = "Name or UUID of the entry to display")]
name: String,