fix: add frpc tls_enable flag and frps tls_only flag (#1798)

This commit is contained in:
Tank
2020-05-12 14:33:34 +08:00
committed by GitHub
parent 1ab23b5e0e
commit 591023a1f0
10 changed files with 14 additions and 0 deletions

View File

@@ -44,6 +44,7 @@ func init() {
stcpCmd.PersistentFlags().IntVarP(&bindPort, "bind_port", "", 0, "bind port")
stcpCmd.PersistentFlags().BoolVarP(&useEncryption, "ue", "", false, "use encryption")
stcpCmd.PersistentFlags().BoolVarP(&useCompression, "uc", "", false, "use compression")
stcpCmd.PersistentFlags().BoolVarP(&tlsEnable, "tls_enable", "", false, "enable frpc tls")
rootCmd.AddCommand(stcpCmd)
}