Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

‎cli/compile/compile.go‎

Lines changed: 0 additions & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /