Skip to content

Commit fb1991e

Browse files
committed
fix: another call to arduino-cli board details (#46)
1 parent dce83a9 commit fb1991e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/arduino.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ function! arduino#GetProgrammers() abort
348348
\ 'value': '',
349349
\}]
350350
if g:arduino_use_cli
351-
let data = json_decode(system('arduino-cli board details ' . g:arduino_board . ' --list-programmers --format json'))
351+
let data = json_decode(system('arduino-cli board details -b ' . g:arduino_board . ' --list-programmers --format json'))
352352
if has_key(data, 'programmers')
353353
for entry in data['programmers']
354354
call add(programmers, {

0 commit comments

Comments
 (0)