diff options
author | Jesse Luehrs <doy@tozt.net> | 2024-04-20 14:59:34 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2024-04-20 14:59:34 -0400 |
commit | cb0dfaa6de7a0246b5d407625521e0947ae38169 (patch) | |
tree | e41d4fb4ab8582d1c20000e1f687b7563b104b49 | |
parent | 52cd14086afbfae2a0ad26254c69508badbfbd67 (diff) | |
download | rbw-cb0dfaa6de7a0246b5d407625521e0947ae38169.tar.gz rbw-cb0dfaa6de7a0246b5d407625521e0947ae38169.zip |
alias `rbw totp` to `rbw code`
-rw-r--r-- | src/bin/rbw/main.rs | 5 |
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, |