diff --git a/cmd/cmd.go b/cmd/cmd.go index c2e4b5ed..2ed2954a 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -87,6 +87,11 @@ var ( EnvVar: "MICRO_REGISTER_INTERVAL", Usage: "Register interval in seconds", }, + cli.StringFlag{ + Name: "server", + EnvVar: "MICRO_SERVER", + Usage: "Server for go-micro; rpc", + }, cli.StringFlag{ Name: "server_name", EnvVar: "MICRO_SERVER_NAME", @@ -144,11 +149,6 @@ var ( Usage: "Selector used to pick nodes for querying", Value: "cache", }, - cli.StringFlag{ - Name: "server", - EnvVar: "MICRO_SERVER", - Usage: "Server for go-micro; rpc", - }, cli.StringFlag{ Name: "transport", EnvVar: "MICRO_TRANSPORT",