diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-01-25 13:46:24 +0100 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-01-25 13:46:24 +0100 |
commit | e29b27c6ad718cd9fd71b757cb70133b52ec5de2 (patch) | |
tree | 10c934455db01773a2eca6bfb607a3c1f147abd9 /bin/menuscripts/mpwgen | |
parent | 856fc4cc30dc87bd41436ea7dd7f9aabc1f258c1 (diff) |
Update options for commander
Diffstat (limited to 'bin/menuscripts/mpwgen')
-rwxr-xr-x | bin/menuscripts/mpwgen | 4 |
1 files changed, 2 insertions, 2 deletions
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 |