X-Git-Url: https://rtime.felk.cvut.cz/gitweb/notmuch.git/blobdiff_plain/a5a6859197fb0b9cea7d75c4ec9377b9fc7d7285..e0c58f5c6731decd3ad3488a0795540dce765f19:/notmuch-search.c diff --git a/notmuch-search.c b/notmuch-search.c index 5036d8e4..14b9f01c 100644 --- a/notmuch-search.c +++ b/notmuch-search.c @@ -735,8 +735,8 @@ notmuch_address_command (notmuch_config_t *config, int argc, char *argv[]) if (opt_index < 0) return EXIT_FAILURE; - if (! ctx->output) - ctx->output = OUTPUT_SENDER | OUTPUT_RECIPIENTS; + if (! (ctx->output & (OUTPUT_SENDER | OUTPUT_RECIPIENTS))) + ctx->output |= OUTPUT_SENDER; if (_notmuch_search_prepare (ctx, config, argc - opt_index, argv + opt_index))