Commit c498df0c authored by Weixin Deng's avatar Weixin Deng
Browse files

Adjust args

parent 5b6a3d64
......@@ -35,10 +35,10 @@ func parseArgs() Args {
var startServer = flag.Bool("server", false, "Start server")
var startClient = flag.Bool("client", false, "Start client")
var addr = flag.String("addr", "localhost", "Address")
var numPorts = flag.Int("numPorts", 1, "Number of ports")
var ports = flag.String("ports", "9001", "Ports")
var numServers = flag.Int("numServers", 1, "Number of servers")
var servers = flag.String("servers", "localhost:9001", "Servers")
var numPorts = flag.Int("numPorts", 0, "Number of ports")
var ports = flag.String("ports", "", "Ports")
var numServers = flag.Int("numServers", 0, "Number of servers")
var servers = flag.String("servers", "", "Servers")
var dataSize = flag.Int("dataSize", 1, "Data size")
var serverDelay = flag.Int("serverDelay", 0, "Server delay in microseconds")
var repeat = flag.Int("repeat", 1, "Repeat")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment