chore: fix typos (#2122)

* refactor: fix typos

* Update help.go

Co-authored-by: Noah Hsu <i@nn.ci>
This commit is contained in:
BoYanZh
2022-10-26 14:05:56 +08:00
committed by GitHub
parent dd4674e486
commit f0cc0a76a9
6 changed files with 20 additions and 20 deletions

View File

@ -191,7 +191,7 @@ func (id *Client) PauseAll() (g string, err error)
`aria2.pauseAll()` This method is equal to calling `aria2.pause()` for every active/waiting download. This methods returns OK for success.
```
func (id *Client) PurgeDowloadResult() (g string, err error)
func (id *Client) PurgeDownloadResult() (g string, err error)
```
`aria2.purgeDownloadResult()` This method purges completed/error/removed downloads to free memory. This method returns OK.
@ -254,4 +254,4 @@ func (id *Client) Unpause(gid string) (g string, err error)
func (id *Client) UnpauseAll() (g string, err error)
```
`aria2.unpauseAll()` This method is equal to calling `aria2.unpause()` for every active/waiting download. This methods returns OK for success.
`aria2.unpauseAll()` This method is equal to calling `aria2.unpause()` for every active/waiting download. This methods returns OK for success.