X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osmclient%2Fscripts%2Fosm.py;h=ee3e7927fb266498fa9d75d88eccd62369e7d66b;hb=5a139d43787d022534d13a92b26982a597519480;hp=2aa16c69ce24442fb05dc542649c8eab954522e8;hpb=c94275062d1faf60c9b6ac360506bbd1a715c0ab;p=osm%2Fosmclient.git diff --git a/osmclient/scripts/osm.py b/osmclient/scripts/osm.py index 2aa16c6..ee3e792 100755 --- a/osmclient/scripts/osm.py +++ b/osmclient/scripts/osm.py @@ -2501,9 +2501,9 @@ def k8scluster_show(ctx, name, literal): @click.argument('name') @click.argument('uri') @click.option('--type', - type=click.Choice(['chart', 'bundle']), + type=click.Choice(['helm-chart', 'juju-bundle']), prompt=True, - help='type of repo (chart for helm-charts, bundle for juju-bundles)') + help='type of repo for helm-chart or juju-bundle') @click.option('--description', default='', help='human readable description') @@ -2539,8 +2539,8 @@ def repo_add(ctx, @click.argument('name') @click.option('--newname', help='New name for the repo') @click.option('--uri', help='URI of the repo') -@click.option('--type', type=click.Choice(['chart', 'bundle']), - help='type of repo (chart for helm-charts, bundle for juju-bundles)') +@click.option('--type', type=click.Choice(['helm-chart', 'juju-bundle']), + help='type of repo for helm-chart or juju-bundle') @click.option('--description', help='human readable description') #@click.option('--wait', # is_flag=True,