Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-cli
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Operations
Operations
Metrics
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-cli
Commits
56add2e6
Commit
56add2e6
authored
Nov 10, 2021
by
Umberto Baldi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[breaking] change `--timeout` flag to `--discovery-timeout` for consistency
parent
f85513c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
cli/board/list.go
cli/board/list.go
+2
-4
No files found.
cli/board/list.go
View file @
56add2e6
...
...
@@ -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
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment