From 6852de304d54cdcf2a160d633331f7fc038c07e0 Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Wed, 20 Nov 2024 16:44:39 +0100 Subject: [PATCH] Add profile-type option alias to attach-profile and detach-profile commands Change-Id: I024787283dfd49e30e2b9c65477d57f9fa6db65c Signed-off-by: garciadeblas --- osmclient/cli_commands/profiles.py | 2 ++ 1 file changed, 2 insertions(+) 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( [ -- 2.25.1