From: garciadeblas Date: Mon, 15 Sep 2025 13:07:17 +0000 (+0200) Subject: Fix cluster command options to be flags by setting is_flag to True X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=f0bb1406b0838a3a0b7d0c766374ff709ba1cb80;p=osm%2Fosmclient.git Fix cluster command options to be flags by setting is_flag to True Change-Id: Iefa1472c81e1c809b86bc9bff015b2f083b976fe Signed-off-by: garciadeblas --- diff --git a/osmclient/cli_commands/cluster.py b/osmclient/cli_commands/cluster.py index 9e1eb1af..66409ed6 100755 --- a/osmclient/cli_commands/cluster.py +++ b/osmclient/cli_commands/cluster.py @@ -46,6 +46,7 @@ logger = logging.getLogger("osmclient") ) @click.option( "--bootstrap/--no-bootstrap", + is_flag=True, required=False, default=True, help="bootstrap the cluster with Flux (prepare for GitOps) (default=True)", @@ -280,6 +281,7 @@ def cluster_get_kubeconfig(ctx, name, **kwargs): @click.option("--description", default="", help="human readable description") @click.option( "--bootstrap/--no-bootstrap", + is_flag=True, required=False, default=True, help="bootstrap the cluster with Flux (prepare for GitOps) (default=True)",