diff --git a/cmd/network.go b/cmd/network.go index dc5e446..8bcbe5b 100644 --- a/cmd/network.go +++ b/cmd/network.go @@ -164,8 +164,8 @@ func newNetworkCmd(c *config) *cobra.Command { 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", "", "", "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]") + allocateCmd.Flags().Int64P("ipv4-prefix-length", "", 0, "ipv4 prefix bit length of network to create, defaults to default child prefix length of the parent network. [optional]") + allocateCmd.Flags().Int64P("ipv6-prefix-length", "", 0, "ipv6 prefix bit length of network to create, defaults to default child prefix length of the parent network. [optional]") genericcli.Must(allocateCmd.RegisterFlagCompletionFunc("project", c.comp.ProjectListCompletion)) genericcli.Must(allocateCmd.RegisterFlagCompletionFunc("partition", c.comp.PartitionListCompletion)) genericcli.Must(allocateCmd.RegisterFlagCompletionFunc("addressfamily", c.comp.NetworkAddressFamilyCompletion))