Description
Bug Report
Current behavior
arduino-cli board
The help printed:
.
.
listall List all known boards and their corresponding FQBN.
search List all known boards and their corresponding FQBN.
.
.
But this is more about the getting-started guide.
Expected behavior
While following: https://arduino.github.io/arduino-cli/0.21/getting-started/
It says:
identify the platform core and use the correct FQBN string. When a board is
not detected for whatever reason, you can list all the supported boards and
their FQBN strings by running the following:
$ arduino-cli board listall mkr
At least for me listall lists the boards that are installed, so just gives a blank list at this point.
After messing around and deleting the settings folder and redoing
$ arduino-cli config init
$ arduino-cli core update-index
still the same so after reading help from 'arduino-cli board' tried using: 'arduino-cli board search' instead and that worked.
Then after doing 'arduino-cli core install arduino:avr'
'arduino-cli board listall' now lists all the avr boards supported by arduino:avr
So I guess the documentation is wrong and search is what lists all the boards?
While listall lists the installed boards?
The help from 'arduino-cli board' could also use improving to make it clear what listall and search do.
Environment
- CLI version (output of
arduino-cli version
): - OS and platform: Linux Manjaro