Add dummy --display argument to pinentry.py so it doesn't crash when called from X.
authorW. Trevor King <wking@drexel.edu>
Wed, 7 Dec 2011 19:10:38 +0000 (14:10 -0500)
committerW. Trevor King <wking@drexel.edu>
Thu, 22 Mar 2012 19:30:30 +0000 (15:30 -0400)
posts/gpg-agent/pinentry.py

index 0b885a27e8a75a734c58ba2eb82bde75e02777bc..99e1bc3b8808f1565f9fb2a24b766bdf0d7e86ab 100755 (executable)
@@ -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()