Skip to content

Commit

Permalink
mark ip as hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
bohdand-weka committed Jan 17, 2024
1 parent 86d3ab9 commit 3d311d3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/cli/local/setup/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,12 @@ func init() {

setupCmd.Flags().StringVar(&setupConfig.Host, "host", "", "public host or IP address for LWH")

setupCmd.Flags().StringVar(&setupConfig.NodeIP, "ip", "0.0.0.0", "primary IP address for internal networking")
setupCmd.Flags().StringVar(&setupConfig.NodeIP, "ip", "0.0.0.0", "primary IP address, used for internal networking")
setupCmd.Flags().StringVar(&setupConfig.Iface, "iface", "", "interface to use for internal networking")

setupCmd.Flags().StringVar(&setupConfig.TLSCert, "tls-cert", "", "TLS certificate file")
setupCmd.Flags().StringVar(&setupConfig.TLSKey, "tls-key", "", "TLS secret key file")

setupCmd.Flags().MarkHidden("ip")
})
}

0 comments on commit 3d311d3

Please sign in to comment.