Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Commit

Permalink
cleanup: fix typos in root.go
Browse files Browse the repository at this point in the history
cleanup: fix typos in dfget.md

Signed-off-by: Guangming Wang <[email protected]>
  • Loading branch information
Guangming Wang committed Aug 15, 2019
1 parent dbb029d commit 92b0123
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/dfget/app/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ func initFlags() {
flagSet.DurationVar(&cfg.RV.DataExpireTime, "expiretime", config.DataExpireTime,
"caching duration for which cached file keeps no accessed by any process, after this period cache file will be deleted")
flagSet.DurationVar(&cfg.RV.ServerAliveTime, "alivetime", config.ServerAliveTime,
"Alive duration for which uploader keeps no accessing by any uploading requests, after this period uploader will automically exit")
"Alive duration for which uploader keeps no accessing by any uploading requests, after this period uploader will automatically exit")

flagSet.MarkDeprecated("exceed", "please use '--timeout' or '-e' instead")
}
Expand Down
2 changes: 1 addition & 1 deletion docs/cli_reference/dfget.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ download SUCCESS(0) cost:0.026s length:141898 reason:0
### Options

```
--alivetime duration Alive duration for which uploader keeps no accessing by any uploading requests, after this period uploader will automically exit (default 5m0s)
--alivetime duration Alive duration for which uploader keeps no accessing by any uploading requests, after this period uploader will automatically exit (default 5m0s)
--cacerts strings The cacert file which is used to verify remote server when supernode interact with the source.
--callsystem string The name of dfget caller which is for debugging. Once set, it will be passed to all components around the request to make debugging easy
--clientqueue int specify the size of client queue which controls the number of pieces that can be processed simultaneously (default 6)
Expand Down

0 comments on commit 92b0123

Please sign in to comment.