From: garciadeblas Date: Wed, 20 Nov 2024 15:44:39 +0000 (+0100) Subject: Add profile-type option alias to attach-profile and detach-profile commands X-Git-Tag: v17.0.0~8 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=6852de304d54cdcf2a160d633331f7fc038c07e0;p=osm%2Fosmclient.git Add profile-type option alias to attach-profile and detach-profile commands Change-Id: I024787283dfd49e30e2b9c65477d57f9fa6db65c Signed-off-by: garciadeblas --- diff --git a/osmclient/cli_commands/profiles.py b/osmclient/cli_commands/profiles.py index 93a41f3..cfc7faf 100755 --- a/osmclient/cli_commands/profiles.py +++ b/osmclient/cli_commands/profiles.py @@ -85,6 +85,7 @@ def patch_cluster_profile(ctx, profile, cluster, profile_type, patch_string): @click.argument("profile") @click.argument("cluster") @click.option( + "--profile-type", "--profile_type", type=click.Choice( [ @@ -116,6 +117,7 @@ def attach_profile(ctx, profile, cluster, profile_type): @click.argument("profile") @click.argument("cluster") @click.option( + "--profile-type", "--profile_type", type=click.Choice( [