From d2f036d727ab06ab88f88d310bc6e1503d20ac08 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 7 Dec 2011 14:10:38 -0500 Subject: [PATCH] Add dummy --display argument to pinentry.py so it doesn't crash when called from X. --- posts/gpg-agent/pinentry.py | 3 +++ 1 file changed, 3 insertions(+) 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() -- 2.26.2