The Wayback Machine - https://web.archive.org/web/20211120000401/https://github.com/arduino/arduino-cli/commit/56add2e6687d0897772dec8be223128577e11ff8
Skip to content
Permalink
Browse files
[breaking] change --timeout flag to --discovery-timeout for consi…
…stency
  • Loading branch information
umbynos committed Nov 19, 2021
1 parent f85513c commit 56add2e6687d0897772dec8be223128577e11ff8
Showing with 2 additions and 4 deletions.
  1. +2 −4 cli/board/list.go
@@ -47,10 +47,8 @@ func initListCommand() *cobra.Command {
Run: runListCommand,
}

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

return listCommand
}

0 comments on commit 56add2e

Please sign in to comment.