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
9c10e063
Unverified
Commit
9c10e063
authored
Jan 08, 2020
by
Massimiliano Pippi
Committed by
Massimiliano Pippi
Jan 08, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix regression on compile and upload with attached sketches (#545)
* fix regression on board attach * fix integration tests
parent
bdce7e90
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
+16
-16
cli/upload/upload.go
cli/upload/upload.go
+16
-16
No files found.
cli/upload/upload.go
View file @
9c10e063
/*
// This file is part of arduino-cli.
* This file is part of arduino-cli.
//
*
// Copyright 2020 ARDUINO SA (http://www.arduino.cc/)
* Copyright 2018 ARDUINO SA (http://www.arduino.cc/)
//
*
// This software is released under the GNU General Public License version 3,
* This software is released under the GNU General Public License version 3,
// which covers the main part of arduino-cli.
* which covers the main part of arduino-cli.
// The terms of this license can be found at:
* The terms of this license can be found at:
// https://www.gnu.org/licenses/gpl-3.0.en.html
* https://www.gnu.org/licenses/gpl-3.0.en.html
//
*
// You can be released from the requirements of the above licenses by purchasing
* You can be released from the requirements of the above licenses by purchasing
// a commercial license. Buying such a license is mandatory if you want to
* a commercial license. Buying such a license is mandatory if you want to modify or
// modify or otherwise use the software for commercial activities involving the
* otherwise use the software for commercial activities involving the Arduino
// Arduino software without disclosing the source code of your own applications.
* software without disclosing the source code of your own applications. To purchase
// To purchase a commercial license, send an email to license@arduino.cc.
* a commercial license, send an email to license@arduino.cc.
*/
package
upload
package
upload
...
@@ -56,6 +54,8 @@ func NewCommand() *cobra.Command {
...
@@ -56,6 +54,8 @@ func NewCommand() *cobra.Command {
uploadCommand
.
Flags
()
.
BoolVarP
(
&
verify
,
"verify"
,
"t"
,
false
,
"Verify uploaded binary after the upload."
)
uploadCommand
.
Flags
()
.
BoolVarP
(
&
verify
,
"verify"
,
"t"
,
false
,
"Verify uploaded binary after the upload."
)
uploadCommand
.
Flags
()
.
BoolVarP
(
&
verbose
,
"verbose"
,
"v"
,
false
,
"Optional, turns on verbose mode."
)
uploadCommand
.
Flags
()
.
BoolVarP
(
&
verbose
,
"verbose"
,
"v"
,
false
,
"Optional, turns on verbose mode."
)
uploadCommand
.
MarkFlagRequired
(
"port"
)
return
uploadCommand
return
uploadCommand
}
}
...
...
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