From: W. Trevor King Date: Wed, 7 Dec 2011 19:10:38 +0000 (-0500) Subject: Add dummy --display argument to pinentry.py so it doesn't crash when called from X. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c68aeceda55cb856bcefd2ab4e747517c4b5302f;p=mw2txt.git Add dummy --display argument to pinentry.py so it doesn't crash when called from X. --- diff --git a/posts/gpg-agent/pinentry.py b/posts/gpg-agent/pinentry.py index 0b885a2..99e1bc3 100755 --- a/posts/gpg-agent/pinentry.py +++ b/posts/gpg-agent/pinentry.py @@ -378,6 +378,9 @@ if __name__ == '__main__': parser.add_argument( '-V', '--verbose', action='count', default=0, help='increase verbosity') + parser.add_argument( + '--display', + help='set X display (ignored by this implementation)') args = parser.parse_args()