Skip to content

Commit ccc38d1

Browse files
Massimiliano Pippimasci
Massimiliano Pippi
authored andcommitted
fix regression on board attach
1 parent 85a0273 commit ccc38d1

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

cli/compile/compile.go

-2
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,6 @@ func NewCommand() *cobra.Command {
7878
command.Flags().BoolVarP(&verify, "verify", "t", false, "Verify uploaded binary after the upload.")
7979
command.Flags().StringVar(&vidPid, "vid-pid", "", "When specified, VID/PID specific build properties are used, if boards supports them.")
8080

81-
command.MarkFlagRequired("fqbn")
82-
8381
return command
8482
}
8583

cli/upload/upload.go

-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ func NewCommand() *cobra.Command {
5454
uploadCommand.Flags().BoolVarP(&verify, "verify", "t", false, "Verify uploaded binary after the upload.")
5555
uploadCommand.Flags().BoolVarP(&verbose, "verbose", "v", false, "Optional, turns on verbose mode.")
5656

57-
uploadCommand.MarkFlagRequired("fqbn")
5857
uploadCommand.MarkFlagRequired("port")
5958

6059
return uploadCommand

0 commit comments

Comments
 (0)