diff --git a/jiracli/cli.py b/jiracli/cli.py index 210f10b..12b6d79 100644 --- a/jiracli/cli.py +++ b/jiracli/cli.py @@ -90,7 +90,7 @@ def version(client): @main.command() @click.option('--project', help='Project to filter for. Default: take from config [filters]/default_project') -@click.option('--component', 'components', help='Filter for issues with *any* of the given components') +@click.option('--component', 'components', multiple=True, help='Filter for issues with *any* of the given components') @click.option('--status', multiple=True, help='Filter for issues with *any* of the given statuses') @click.option('--label', 'labels', multiple=True, help='Filter for issues with all the given labels') @click.option('--text', 'texts', multiple=True, help='Filter for issues containing all the given strings')