Skip to content

Commit cae3e74

Browse files
committed
Revert "make fqbn flag required, so that the completion suggests it when pressing <tab><tab>"
This reverts commit cc81265.
1 parent 59f1a35 commit cae3e74

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Diff for: cli/compile/compile.go

-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ func NewCommand() *cobra.Command {
8484
}
8585

8686
command.Flags().StringVarP(&fqbn, "fqbn", "b", "", tr("Fully Qualified Board Name, e.g.: arduino:avr:uno"))
87-
command.MarkFlagRequired("fqbn")
8887
command.RegisterFlagCompletionFunc("fqbn", func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
8988
return getBoards(toComplete), cobra.ShellCompDirectiveDefault
9089
})

0 commit comments

Comments
 (0)