From: garciadeblas Date: Mon, 30 Nov 2020 10:43:49 +0000 (+0000) Subject: nfpkg-repo-list --filter option allows multiple calls X-Git-Tag: release-v9.0-start~7 X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2Fosmclient.git;a=commitdiff_plain;h=1c07734987fd56280f6f8a6198fa5823d6a6821a nfpkg-repo-list --filter option allows multiple calls Change-Id: I340a99e4120f0b29456a573716427a8d4850b9ce Signed-off-by: garciadeblas --- diff --git a/osmclient/scripts/osm.py b/osmclient/scripts/osm.py index 227e429..4867e49 100755 --- a/osmclient/scripts/osm.py +++ b/osmclient/scripts/osm.py @@ -605,7 +605,7 @@ def nfpkg_list(ctx, nf_type, filter, long): @cli_osm.command(name='vnfpkg-repo-list', short_help='list all xNF from OSM repositories') -@click.option('--filter', default=None, +@click.option('--filter', default=None, multiple=True, help='restricts the list to the NFpkg matching the filter') @click.option('--repo', default=None, help='restricts the list to a particular OSM repository') @@ -617,7 +617,7 @@ def nfpkg_repo_list1(ctx, filter, repo, long): pkg_repo_list(ctx, pkgtype, filter, repo, long) @cli_osm.command(name='nfpkg-repo-list', short_help='list all xNF from OSM repositories') -@click.option('--filter', default=None, +@click.option('--filter', default=None, multiple=True, help='restricts the list to the NFpkg matching the filter') @click.option('--repo', default=None, help='restricts the list to a particular OSM repository')