Skip to content

Commit 8b7fc17

Browse files
committed
rename -timeout flag to -vol-timeout
The "timeout" name clashes with the test flag of the same name.
1 parent 3869f76 commit 8b7fc17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1628,7 +1628,7 @@ func main() {
16281628
ocdCommandsString := flag.String("ocd-commands", "", "OpenOCD commands, overriding target spec (can specify multiple separated by commas)")
16291629
ocdOutput := flag.Bool("ocd-output", false, "print OCD daemon output during debug")
16301630
port := flag.String("port", "", "flash port (can specify multiple candidates separated by commas)")
1631-
timeout := flag.Duration("timeout", 20*time.Second, "the length of time to retry locating the MSD volume to be used for flashing")
1631+
timeout := flag.Duration("volume-timeout", 20*time.Second, "the length of time to retry locating the MSD volume to be used for flashing")
16321632
programmer := flag.String("programmer", "", "which hardware programmer to use")
16331633
ldflags := flag.String("ldflags", "", "Go link tool compatible ldflags")
16341634
llvmFeatures := flag.String("llvm-features", "", "comma separated LLVM features to enable")

0 commit comments

Comments
 (0)