add dump2hosts options to connect command

This commit is contained in:
yunlzheng
2020-01-17 18:29:45 +08:00
parent 6c3e2e26fd
commit aa8a349d45
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -16,6 +16,7 @@ ktctl --debug --namespace=default connect --method=socks5
--port value Local SSH Proxy port (default: 2222)
--disableDNS Disable Cluster DNS
--cidr value Custom CIDR eq '172.2.0.0/16'
--dump2hosts Auto write service to local hosts file (since 0.0.10+)
```
### Global Options
+1
View File
@@ -16,6 +16,7 @@ ktctl --debug --namespace=default connect --method=socks5
--port value Local SSH Proxy port (default: 2222)
--disableDNS Disable Cluster DNS
--cidr value Custom CIDR eq '172.2.0.0/16'
--dump2hosts Auto write service to local hosts file (客户端版本0.0.10+)
```
### 从父命令集成的参数