Skip to content

Commit 933c459

Browse files
committed
[breaking] change --timeout flag to --discovery-timeout for consistency
1 parent a61a346 commit 933c459

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

cli/board/list.go

+2-4
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,8 @@ func initListCommand() *cobra.Command {
4747
Run: runListCommand,
4848
}
4949

50-
listCommand.Flags().DurationVar(&timeout, "timeout", time.Second,
51-
tr("The connected devices search timeout, raise it if your board doesn't show up e.g.: 10s"))
52-
listCommand.Flags().BoolVarP(&watch, "watch", "w", false,
53-
tr("Command keeps running and prints list of connected boards whenever there is a change."))
50+
listCommand.Flags().DurationVar(&timeout, "discovery-timeout", time.Second, tr("Max time to wait for port discovery, e.g.: 30s, 1m"))
51+
listCommand.Flags().BoolVarP(&watch, "watch", "w", false, tr("Command keeps running and prints list of connected boards whenever there is a change."))
5452

5553
return listCommand
5654
}

0 commit comments

Comments
 (0)