Skip to content

Commit

Permalink
Update cmd/network.go
Browse files Browse the repository at this point in the history
Co-authored-by: Gerrit <Gerrit91@users.noreply.github.com>
  • Loading branch information
majst01 and Gerrit91 authored Feb 19, 2025
1 parent 3a5aee9 commit f92a385
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit f92a385

Please sign in to comment.