carnager / rofi-pass

rofi frontend for pass
GNU General Public License v3.0
696 stars 122 forks source link

addpass script is broken #218

Open FriendlyTroll opened 2 years ago

FriendlyTroll commented 2 years ago

Hi! Firstly, thanks for the awesome tool!

Here is the issue with running the command:

~$ addpass.sh --root "mynewroot" --name "My new Site" +user "zeltak" +branch "branch" +custom "foobar" +autotype "branch :tab user :tab pass"
--root
Missing --name option. Try --help

It also gets confused if you have more than to database listed in config like:

~$ addpass.sh --name "My new Site" +user "zeltak" +branch "branch" +custom "foobar" +autotype "branch :tab user :tab pass"
--name
Using database "/home/user/.password-store:/home/user/.password-store-2"
Enter password for entry "My new Site" >

It should just choose one.