Skip to content

Commit

Permalink
update fields description.
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Oct 30, 2024
1 parent 688de35 commit fa11baf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions cmd/private_network_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ type privateNetworkCreateCmd struct {
StartIP string `cli-usage:"Private Network range start IP address"`
Zone v3.ZoneName `cli-short:"z" cli-usage:"Private Network zone"`
Netmask string `cli-usage:"DHCP option 1: Subnet netmask"`
DNSServers []string `cli-flag:"dns-server" cli-usage:"DHCP option 6: DNS servers"`
NTPServers []string `cli-flag:"ntp-server" cli-usage:"DHCP option 42: NTP servers"`
Routers []string `cli-flag:"router" cli-usage:"DHCP option 3: Routers"`
DomainSearch []string `cli-usage:"DHCP option 119: domain search list (limited to 255 octets)"`
DNSServers []string `cli-flag:"dns-server" cli-usage:"DHCP option 6: DNS servers (can be specified multiple times)"`
NTPServers []string `cli-flag:"ntp-server" cli-usage:"DHCP option 42: NTP servers (can be specified multiple times)"`
Routers []string `cli-flag:"router" cli-usage:"DHCP option 3: Routers (can be specified multiple times)"`
DomainSearch []string `cli-usage:"DHCP option 119: domain search list (limited to 255 octets, can be specified multiple times)"`
}

func (c *privateNetworkCreateCmd) cmdAliases() []string { return gCreateAlias }
Expand Down
8 changes: 4 additions & 4 deletions cmd/private_network_update.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ type privateNetworkUpdateCmd struct {
StartIP string `cli-usage:"Private Network range start IP address"`
Zone v3.ZoneName `cli-short:"z" cli-usage:"Private Network zone"`
Netmask string `cli-usage:"DHCP option 1: Subnet netmask"`
DNSServers []string `cli-flag:"dns-server" cli-usage:"DHCP option 6: DNS servers"`
NTPServers []string `cli-flag:"ntp-server" cli-usage:"DHCP option 42: NTP servers"`
Routers []string `cli-flag:"router" cli-usage:"DHCP option 3: Routers"`
DomainSearch []string `cli-usage:"DHCP option 119: domain search list (limited to 255 octets)"`
DNSServers []string `cli-flag:"dns-server" cli-usage:"DHCP option 6: DNS servers (can be specified multiple times)"`
NTPServers []string `cli-flag:"ntp-server" cli-usage:"DHCP option 42: NTP servers (can be specified multiple times)"`
Routers []string `cli-flag:"router" cli-usage:"DHCP option 3: Routers (can be specified multiple times)"`
DomainSearch []string `cli-usage:"DHCP option 119: domain search list (limited to 255 octets, can be specified multiple times)"`
}

func (c *privateNetworkUpdateCmd) cmdAliases() []string { return nil }
Expand Down

0 comments on commit fa11baf

Please sign in to comment.