Skip to content

Commit 180d1d4

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

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
@@ -83,7 +83,6 @@ func NewCommand() *cobra.Command {
8383
}
8484

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

0 commit comments

Comments
 (0)