fix(cmd): comments syntax error

This commit is contained in:
iyear 2022-09-14 10:26:48 +08:00
parent 445d147663
commit 0723f1de9f

View file

@ -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")
} }