mirror of
https://github.com/bit1001/tdl.git
synced 2024-09-20 06:35:54 +08:00
fix(cmd): comments syntax error
This commit is contained in:
parent
445d147663
commit
0723f1de9f
|
@ -20,7 +20,7 @@ var CmdDL = &cobra.Command{
|
||||||
func init() {
|
func init() {
|
||||||
CmdDL.AddCommand(cmdURL)
|
CmdDL.AddCommand(cmdURL)
|
||||||
|
|
||||||
CmdDL.PersistentFlags().IntVarP(&partSize, "part-size", "s", 512*1024, "part size for download, max is 512*1024")
|
CmdDL.PersistentFlags().IntVarP(&partSize, "part-size", "s", 512*1024, "part size for downloading, max is 512*1024")
|
||||||
CmdDL.PersistentFlags().IntVarP(&threads, "threads", "t", 8, "threads for downloading one item")
|
CmdDL.PersistentFlags().IntVarP(&threads, "threads", "t", 8, "threads for downloading one item")
|
||||||
CmdDL.PersistentFlags().IntVarP(&limit, "limit", "l", 2, "max number of concurrent tasks")
|
CmdDL.PersistentFlags().IntVarP(&limit, "limit", "l", 2, "max number of concurrent tasks")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue