From 5a139d43787d022534d13a92b26982a597519480 Mon Sep 17 00:00:00 2001 From: tierno Date: Tue, 3 Dec 2019 23:55:50 +0000 Subject: [PATCH] change repo type to helm-chart,juju-bundle Change-Id: I69a8a8613ef81ef396d1da55376a2a306960eb2a Signed-off-by: tierno --- osmclient/scripts/osm.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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, -- 2.17.1