From 3a5aee959b0a53228eaf4298aab1580df6df3af8 Mon Sep 17 00:00:00 2001 From: Stefan Majer Date: Wed, 19 Feb 2025 11:43:45 +0100 Subject: [PATCH] Update cmd/network.go Co-authored-by: Gerrit --- cmd/network.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/network.go b/cmd/network.go index 69f17ec..dc5e446 100644 --- a/cmd/network.go +++ b/cmd/network.go @@ -163,7 +163,7 @@ func newNetworkCmd(c *config) *cobra.Command { allocateCmd.Flags().StringSlice("labels", []string{}, "labels for this network. [optional]") allocateCmd.Flags().BoolP("dmz", "", false, "use this private network as dmz. [optional]") allocateCmd.Flags().BoolP("shared", "", false, "shared allows usage of this private network from other networks") - allocateCmd.Flags().StringP("addressfamily", "", "ipv4", "addressfamily of the network to acquire [optional]") + allocateCmd.Flags().StringP("addressfamily", "", "", "addressfamily of the network to acquire [optional]") allocateCmd.Flags().Int64P("ipv4length", "", 22, "ipv4 bitlength of network to create. [optional]") allocateCmd.Flags().Int64P("ipv6length", "", 64, "ip6 bitlength of network to create. [optional]") genericcli.Must(allocateCmd.RegisterFlagCompletionFunc("project", c.comp.ProjectListCompletion))