diff --git a/conf/conf.go b/conf/conf.go index b4b777f..1ca0f97 100644 --- a/conf/conf.go +++ b/conf/conf.go @@ -34,7 +34,8 @@ var Conf = struct { func init() { flag.StringVar(&Conf.ConfigFile, "f", "", "config file location") - flag.StringVar(&Conf.NetType, "n", "QUIC", "proxy net type (QUIC)") + flag.StringVar(&Conf.NetType, "n", "QUIC", "proxy net type (QUIC|KCP)") + flag.StringVar(&Conf.Password, "p", "12345678", "password") flag.StringVar(&Conf.ServerPort, "P", "5533", "server mode listen port") flag.StringVar(&Conf.ServerAddr, "s", "", "server IP (run in client mode if set)") flag.StringVar(&Conf.DnsServer, "d", "114.114.114.114", "client dns server")