cmd/uplink: set default parallelism to 1

Change-Id: Ic4198131c9958cc864fd861f983e32776bf56595
This commit is contained in:
Jeff Wendling 2022-04-26 16:34:14 -04:00 committed by JT Olio
parent dd6ab25cbd
commit f25ead5f98

View File

@ -72,7 +72,7 @@ func (c *cmdCp) Setup(params clingy.Parameters) {
).(bool)
c.byteRange = params.Flag("range", "Downloads the specified range bytes of an object. For more information about the HTTP Range header, see https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35", "").(string)
c.parallelism = params.Flag("parallelism", "Controls how many parallel chunks to upload/download from a file", 4,
c.parallelism = params.Flag("parallelism", "Controls how many parallel chunks to upload/download from a file", 1,
clingy.Short('p'),
clingy.Transform(strconv.Atoi),
clingy.Transform(func(n int) (int, error) {