diff options
author | Mattias Andrée <maandree@kth.se> | 2021-04-05 23:48:03 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-04-05 23:48:03 +0200 |
commit | 21e71d1951192259502681df0f63e6de7254eca9 (patch) | |
tree | e9f2e75be70cdbc86540f99f2d2ff9b573ac4d29 /get-contact-organisations.c | |
parent | m + add set-contact-addresses + use -n instead of -l for country (diff) | |
download | contacts-21e71d1951192259502681df0f63e6de7254eca9.tar.gz contacts-21e71d1951192259502681df0f63e6de7254eca9.tar.bz2 contacts-21e71d1951192259502681df0f63e6de7254eca9.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'get-contact-organisations.c')
-rw-r--r-- | get-contact-organisations.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/get-contact-organisations.c b/get-contact-organisations.c index 70feea5..ae236db 100644 --- a/get-contact-organisations.c +++ b/get-contact-organisations.c @@ -71,7 +71,7 @@ main(int argc, char *argv[]) } if (argc > 1) printf("%s: ", *argv); - if (display_org && display_title) + if (!display_org == !display_title) printf("%s: %s\n", org->organisation, org->title); else if (display_title) printf("%s\n", org->title); |