Skip to content

Commit 75c7fef

Browse files
committed
Default 'board list' timeout to 1s
1 parent e6ee163 commit 75c7fef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/board/list.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func initListCommand() *cobra.Command {
4141
Run: runListCommand,
4242
}
4343

44-
listCommand.Flags().DurationVar(&listFlags.timeout, "timeout", 0,
44+
listCommand.Flags().DurationVar(&listFlags.timeout, "timeout", time.Second,
4545
tr("The connected devices search timeout, raise it if your board doesn't show up e.g.: 10s"))
4646
listCommand.Flags().BoolVarP(&listFlags.watch, "watch", "w", false,
4747
tr("Command keeps running and prints list of connected boards whenever there is a change."))

0 commit comments

Comments
 (0)