mirror of
https://github.com/rclone/rclone.git
synced 2025-08-14 07:49:00 +02:00
test_all: allow -list-retries to be overridden on the command line
This commit is contained in:
@ -336,6 +336,9 @@ func (r *Run) Init() {
|
||||
r.cmdLine = []string{"./" + r.BinaryName()}
|
||||
}
|
||||
r.cmdLine = append(r.cmdLine, prefix+"v", prefix+"timeout", timeout.String(), "-remote", r.Remote)
|
||||
if *listRetries > 0 {
|
||||
r.cmdLine = append(r.cmdLine, "-list-retries", fmt.Sprint(*listRetries))
|
||||
}
|
||||
r.try = 1
|
||||
if *verbose {
|
||||
r.cmdLine = append(r.cmdLine, "-verbose")
|
||||
|
Reference in New Issue
Block a user