X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osmclient%2Fscripts%2Fosm.py;h=23f6889bc92ea5a2dcccc2a199f5389483eadbb0;hb=refs%2Fchanges%2F90%2F5590%2F1;hp=5d8b2b366472e18be05adab7bb846d033a041228;hpb=3a1237e52deed9a3717bf9055ea8589107d52e8d;p=osm%2Fosmclient.git diff --git a/osmclient/scripts/osm.py b/osmclient/scripts/osm.py index 5d8b2b3..23f6889 100755 --- a/osmclient/scripts/osm.py +++ b/osmclient/scripts/osm.py @@ -460,9 +460,12 @@ def vim_delete(ctx, name): @cli.command(name='vim-list') +@click.option('--ro_update/--no_ro_update', + default=False, + help='update list from RO') @click.pass_context -def vim_list(ctx): - resp = ctx.obj.vim.list() +def vim_list(ctx, ro_update): + resp = ctx.obj.vim.list(ro_update) table = PrettyTable(['vim name', 'uuid']) for vim in resp: table.add_row([vim['name'], vim['uuid']])