nfpkg-repo-list --filter option allows multiple calls 55/10055/1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Mon, 30 Nov 2020 10:43:49 +0000 (10:43 +0000)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Mon, 30 Nov 2020 10:43:49 +0000 (10:43 +0000)
Change-Id: I340a99e4120f0b29456a573716427a8d4850b9ce
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
osmclient/scripts/osm.py

index 227e429..4867e49 100755 (executable)
@@ -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')