diff options
Diffstat (limited to 'get-contact-pgpkeys.c')
-rw-r--r-- | get-contact-pgpkeys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/get-contact-pgpkeys.c b/get-contact-pgpkeys.c index 7935d17..97e32c7 100644 --- a/get-contact-pgpkeys.c +++ b/get-contact-pgpkeys.c @@ -71,7 +71,7 @@ main(int argc, char *argv[]) } if (argc > 1) printf("%s: ", *argv); - if (display_ctx && display_id) + if (!display_ctx == !display_id) printf("%s: %s\n", key->context, key->id); else if (display_id) printf("%s\n", key->id); |