aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTad Fisher <tadfisher@gmail.com>2022-02-12 17:52:31 -0800
committerTad Fisher <129148+tadfisher@users.noreply.github.com>2022-02-12 17:54:50 -0800
commit3827922207864d694f338be2cbb212a73f91caf8 (patch)
treee0662d255fc713f06f7507da30d53ee482ad343a
parent951e1263544994d8ef6c512eaed4dba569840532 (diff)
Handle -c/--clip in cmd_otp_uri
-rwxr-xr-xotp.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/otp.bash b/otp.bash
index 852c8a1..041fb31 100755
--- a/otp.bash
+++ b/otp.bash
@@ -389,7 +389,7 @@ cmd_otp_code() {
cmd_otp_uri() {
local contents qrcode=0 clip=0
- opts="$($GETOPT -o q -l qrcode -n "$PROGRAM" -- "$@")"
+ opts="$($GETOPT -o cq -l clip,qrcode -n "$PROGRAM" -- "$@")"
local err=$?
eval set -- "$opts"
while true; do case $1 in