Skip to content

Commit

Permalink
docs(cmd): update proxy flag comments
Browse files Browse the repository at this point in the history
  • Loading branch information
iyear committed Sep 5, 2022
1 parent 61dc24c commit 8c719c3
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var cmd = &cobra.Command{

func init() {
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")

docs := filepath.Join(consts.DocsPath, "command")
Expand Down
2 changes: 1 addition & 1 deletion docs/command/tdl.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ tdl -h
```
-h, --help help for tdl
-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
Expand Down
2 changes: 1 addition & 1 deletion docs/command/tdl_dl.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ tdl dl

```
-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
Expand Down
2 changes: 1 addition & 1 deletion docs/command/tdl_login.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ tdl login

```
-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
Expand Down
2 changes: 1 addition & 1 deletion docs/command/tdl_version.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ tdl version

```
-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
Expand Down

0 comments on commit 8c719c3

Please sign in to comment.