Skip to content

Commit bef1be0

Browse files
committed
fix: pass -b in arguments for arduino-cli board details (#4)
1 parent 7d59eef commit bef1be0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: autoload/arduino.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ endfunction
271271
function! arduino#GetBoardOptions(board) abort
272272
if g:arduino_use_cli
273273
let ret = []
274-
let data = json_decode(system('arduino-cli board details ' . a:board . ' --format json'))
274+
let data = json_decode(system('arduino-cli board details -b ' . a:board . ' --format json'))
275275
if !has_key(data, 'config_options')
276276
return ret
277277
endif

0 commit comments

Comments
 (0)