diff --git a/cli/flags.go b/cli/flags.go index 562e5feb..2f195398 100644 --- a/cli/flags.go +++ b/cli/flags.go @@ -18,7 +18,6 @@ var flags = map[string]string{ "db": `Database configuration path used for storing data. Available backend stores are boltdb, mysql, or pgsql. (default "boltdb://surreal.db").`, "key": `Encryption key to use for intra-cluster communications, and on-disk encryption. For AES-128 encryption use a 16 bit key, for AES-192 encryption use a 24 bit key, and for AES-256 encryption use a 32 bit key.`, "join": `A comma-separated list of addresses to use when a new node is joining an existing cluster. For the first node in a cluster, --join should NOT be specified.`, - "zone": `The continent that the server is located within. Possible values are: GL (Global), EU (Europe), AS (Asia), NA (North America), SA (South America), OC (Oceania), AF (Africa). (default "GL")`, } var usage = map[string][]string{ diff --git a/cli/start.go b/cli/start.go index 7ea29e6f..1a34c8c2 100644 --- a/cli/start.go +++ b/cli/start.go @@ -90,6 +90,4 @@ func init() { startCmd.PersistentFlags().IntVar(&opts.Port.Tcp, "port-tcp", 33693, "The port on which to serve the tcp server.") startCmd.PersistentFlags().IntVar(&opts.Port.Web, "port-web", 8000, "The port on which to serve the web server.") - startCmd.PersistentFlags().StringVarP(&opts.Cluster.Join, "zone", "z", "", flag("zone")) - }