From e29b27c6ad718cd9fd71b757cb70133b52ec5de2 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Thu, 25 Jan 2024 13:46:24 +0100 Subject: Update options for commander --- bin/menuscripts/mpwgen | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/menuscripts/mpwgen') diff --git a/bin/menuscripts/mpwgen b/bin/menuscripts/mpwgen index 51b9bc4..f4f3aa4 100755 --- a/bin/menuscripts/mpwgen +++ b/bin/menuscripts/mpwgen @@ -2,7 +2,7 @@ input () { commander -c -i -p "$1"; } -choice="$(printf "multiline\nsingle\n" | commander -c -d)" +choice="$(printf "multiline\nsingle\n" | commander -c)" [ "$choice" ] || exit 1 password="$(input "name:")" @@ -11,7 +11,7 @@ password="$(input "name:")" if [ "$choice" = "multiline" ] then login="$(find "${PASSWORD_STORE_DIR:=$HOME/.password-store}"/e-mails -type f -maxdepth 1 -iname "*.gpg" -printf "%f\n" | - sed 's/\.gpg$//' | commander -c -d -p 'login:')" + sed 's/\.gpg$//' | commander -c -p 'login:')" [ "$login" ] || exit 1 url="$(input "url:")" [ "$url" ] || exit 1 -- cgit v1.2.3