mirror of
https://github.com/bit1001/tdl.git
synced 2024-09-20 06:35:54 +08:00
docs(cmd): update proxy flag comments
This commit is contained in:
parent
61dc24cc4b
commit
8c719c37d8
|
@ -27,7 +27,7 @@ var cmd = &cobra.Command{
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
cmd.AddCommand(version.Cmd, login.Cmd, dl.Cmd)
|
cmd.AddCommand(version.Cmd, login.Cmd, dl.Cmd)
|
||||||
cmd.PersistentFlags().String("proxy", "", "proxy address, only socks5 is supported")
|
cmd.PersistentFlags().String("proxy", "", "proxy address, only socks5 is supported, format: protocol://username:password@host:port")
|
||||||
cmd.PersistentFlags().StringP("ns", "n", "", "namespace for Telegram session")
|
cmd.PersistentFlags().StringP("ns", "n", "", "namespace for Telegram session")
|
||||||
|
|
||||||
docs := filepath.Join(consts.DocsPath, "command")
|
docs := filepath.Join(consts.DocsPath, "command")
|
||||||
|
|
|
@ -13,7 +13,7 @@ tdl -h
|
||||||
```
|
```
|
||||||
-h, --help help for tdl
|
-h, --help help for tdl
|
||||||
-n, --ns string namespace for Telegram session
|
-n, --ns string namespace for Telegram session
|
||||||
--proxy string proxy address, only socks5 is supported
|
--proxy string proxy address, only socks5 is supported, format: protocol://username:password@host:port
|
||||||
```
|
```
|
||||||
|
|
||||||
### SEE ALSO
|
### SEE ALSO
|
||||||
|
|
|
@ -27,7 +27,7 @@ tdl dl
|
||||||
|
|
||||||
```
|
```
|
||||||
-n, --ns string namespace for Telegram session
|
-n, --ns string namespace for Telegram session
|
||||||
--proxy string proxy address, only socks5 is supported
|
--proxy string proxy address, only socks5 is supported, format: protocol://username:password@host:port
|
||||||
```
|
```
|
||||||
|
|
||||||
### SEE ALSO
|
### SEE ALSO
|
||||||
|
|
|
@ -22,7 +22,7 @@ tdl login
|
||||||
|
|
||||||
```
|
```
|
||||||
-n, --ns string namespace for Telegram session
|
-n, --ns string namespace for Telegram session
|
||||||
--proxy string proxy address, only socks5 is supported
|
--proxy string proxy address, only socks5 is supported, format: protocol://username:password@host:port
|
||||||
```
|
```
|
||||||
|
|
||||||
### SEE ALSO
|
### SEE ALSO
|
||||||
|
|
|
@ -22,7 +22,7 @@ tdl version
|
||||||
|
|
||||||
```
|
```
|
||||||
-n, --ns string namespace for Telegram session
|
-n, --ns string namespace for Telegram session
|
||||||
--proxy string proxy address, only socks5 is supported
|
--proxy string proxy address, only socks5 is supported, format: protocol://username:password@host:port
|
||||||
```
|
```
|
||||||
|
|
||||||
### SEE ALSO
|
### SEE ALSO
|
||||||
|
|
Loading…
Reference in a new issue