Skip to content

Commit 09b4da6

Browse files
committed
board list: reduced timeout to 1s
1 parent 50ab64f commit 09b4da6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

commands/board/list.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ func initListCommand() *cobra.Command {
3535
Use: "list",
3636
Short: "List connected boards.",
3737
Long: "Detects and displays a list of connected boards to the current computer.",
38-
Example: " " + commands.AppName + " board list --timeout 10s",
38+
Example: " " + commands.AppName + " board list",
3939
Args: cobra.NoArgs,
4040
Run: runListCommand,
4141
}
4242

43-
listCommand.Flags().StringVar(&listFlags.timeout, "timeout", "5s",
44-
"The timeout of the search of connected devices, try to high it if your board is not found (e.g. to 10s).")
43+
listCommand.Flags().StringVar(&listFlags.timeout, "timeout", "1s",
44+
"The timeout of the search of connected devices, try to increase it if your board is not found (e.g. to 10s).")
4545
return listCommand
4646
}
4747

0 commit comments

Comments
 (0)