|
|
@ -184,6 +184,7 @@ func main() { |
|
|
|
ip := flag.String("ip", "127.0.0.1", "The ip of commander, i.e. this machine") |
|
|
|
ip := flag.String("ip", "127.0.0.1", "The ip of commander, i.e. this machine") |
|
|
|
port := flag.String("port", "8080", "The port where you want to host the config file") |
|
|
|
port := flag.String("port", "8080", "The port where you want to host the config file") |
|
|
|
configFile := flag.String("config_file", "test.txt", "The file name of config file which should be put in the same of folder as commander") |
|
|
|
configFile := flag.String("config_file", "test.txt", "The file name of config file which should be put in the same of folder as commander") |
|
|
|
|
|
|
|
flag.Parse() |
|
|
|
|
|
|
|
|
|
|
|
config(*ip, *port, *configFile) |
|
|
|
config(*ip, *port, *configFile) |
|
|
|
|
|
|
|
|
|
|
|