From 44a21651b3869e065db1ddd39b187bfce7ff2e4a Mon Sep 17 00:00:00 2001 From: Chris Caron Date: Wed, 2 Oct 2019 22:04:41 -0400 Subject: [PATCH] --dry-run switch output includes associated url tags (#158) --- apprise/cli.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apprise/cli.py b/apprise/cli.py index e898efc1..2aff36a5 100644 --- a/apprise/cli.py +++ b/apprise/cli.py @@ -217,6 +217,8 @@ def main(body, title, config, urls, notification_type, theme, tag, dry_run, click.echo("{: 3d}. {}".format( idx + 1, url if len(url) <= rows else '{}...'.format(url[:rows - 3]))) + if server.tags: + click.echo("{} - {}".format(' ' * 5, ', '.join(server.tags))) # Initialize a default response of nothing matched, otherwise # if we matched at least one entry, we can return True