add command line argument to control pinentry type
I didn't find any duplicate for that.
Currently the pinentry type is controlled by changing the config file. But it
is not very flexible. Please add argument to gpg so user could write
gpg --pinentry text ...
which means gpg would not call GUI dialog, but ask for password in text mode
(just an example). This would be a relief for using gpg in scripting, changing
pinetry mode on the fly without changing config files.