Skip to content

Commit

Permalink
add flags.
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Oct 29, 2024
1 parent db69cfe commit c9a4de7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions cmd/private_network_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ 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-usage:"DHCP option 6: DNS servers"`
NTPServers []string `cli-usage:"DHCP option 42: NTP servers"`
Routers []string `cli-usage:"DHCP option 3: Routers"`
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)"`
}

Expand Down
6 changes: 3 additions & 3 deletions cmd/private_network_update.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ 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-usage:"DHCP option 6: DNS servers"`
NTPServers []string `cli-usage:"DHCP option 42: NTP servers"`
Routers []string `cli-usage:"DHCP option 3: Routers"`
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)"`
}

Expand Down

0 comments on commit c9a4de7

Please sign in to comment.