Skip to content

Undesired empty lines when executing board details -b #959

Closed
@kittaakos

Description

@kittaakos

Bug Report

This is a UX issue. When I run the board details -b command, I can see unnecessary empty lines for the Required tool. Also, perhaps the vertical space can be also reduced for the Required tool and the Programmers entries. Finally, for the Id column of the Programmer, maybe you could switch to ID.

Current behavior

akos.kitta@Akoss-MacBook-Pro build % ./arduino-cli board details -b arduino:samd:mkr1000
Board name:                Arduino MKR1000                                                       
FQBN:                      arduino:samd:mkr1000                                                  
Board version:             1.8.8                                                                 

Official Arduino board:    ✔                                                                     

Identification properties: VID:0x2341 PID:0x004e                                                 
                           VID:0x2341 PID:0x824e                                                 
                           VID:0x2341 PID:0x024e                                                 
                           VID:0x2341 PID:0x804e                                                 

Package name:              arduino                                                               
Package maintainer:        Arduino                                                               
Package URL:               https://downloads.arduino.cc/packages/package_index.json              
Package website:           http://www.arduino.cc/                                                
Package online help:       http://www.arduino.cc/en/Reference/HomePage                           

Platform name:             Arduino SAMD Boards (32-bits ARM Cortex-M0+)                          
Platform category:         Arduino                                                               
Platform architecture:     samd                                                                  
Platform URL:              http://downloads.arduino.cc/cores/samd-1.8.8.tar.bz2                  
Platform file name:        samd-1.8.8.tar.bz2                                                    
Platform size (bytes):     3061568                                                               
Platform checksum:         SHA-256:7b93eb705cba9125d9ee52eba09b51fb5fe34520ada351508f4253abbc9f27fa

Required tool:             arduino:arm-none-eabi-gcc                                                            7-2017q4       

Required tool:             arduino:bossac                                                                       1.7.0-arduino3 

Required tool:             arduino:openocd                                                                      0.10.0-arduino7

Required tool:             arduino:CMSIS                                                                        4.5.0          

Required tool:             arduino:CMSIS-Atmel                                                                  1.2.0          

Required tool:             arduino:arduinoOTA                                                                   1.2.1          

Programmers:               Id                                                                     Name         
                           edbg                                                                   Atmel EDBG   
                           atmel_ice                                                              Atmel-ICE    
                           sam_ice                                                                Atmel SAM-ICE

Expected behavior

akos.kitta@Akoss-MacBook-Pro build % ./arduino-cli board details -b arduino:samd:mkr1000
Board name:                Arduino MKR1000                                                       
FQBN:                      arduino:samd:mkr1000                                                  
Board version:             1.8.8                                                                 

Official Arduino board:    ✔                                                                     

Identification properties: VID:0x2341 PID:0x004e                                                 
                           VID:0x2341 PID:0x824e                                                 
                           VID:0x2341 PID:0x024e                                                 
                           VID:0x2341 PID:0x804e                                                 

Package name:              arduino                                                               
Package maintainer:        Arduino                                                               
Package URL:               https://downloads.arduino.cc/packages/package_index.json              
Package website:           http://www.arduino.cc/                                                
Package online help:       http://www.arduino.cc/en/Reference/HomePage                           

Platform name:             Arduino SAMD Boards (32-bits ARM Cortex-M0+)                          
Platform category:         Arduino                                                               
Platform architecture:     samd                                                                  
Platform URL:              http://downloads.arduino.cc/cores/samd-1.8.8.tar.bz2                  
Platform file name:        samd-1.8.8.tar.bz2                                                    
Platform size (bytes):     3061568                                                               
Platform checksum:         SHA-256:7b93eb705cba9125d9ee52eba09b51fb5fe34520ada351508f4253abbc9f27fa

Required tool:             arduino:arm-none-eabi-gcc      7-2017q4       
Required tool:             arduino:bossac                 1.7.0-arduino3 
Required tool:             arduino:openocd                0.10.0-arduino7
Required tool:             arduino:CMSIS                  4.5.0          
Required tool:             arduino:CMSIS-Atmel            1.2.0          
Required tool:             arduino:arduinoOTA             1.2.1          

Programmers:               ID                             Name         
                           edbg                           Atmel EDBG   
                           atmel_ice                      Atmel-ICE    
                           sam_ice                        Atmel SAM-ICE

Environment

  • CLI version (output of arduino-cli version): arduino-cli Version: 0.13.0 Commit: 693a045.
  • OS and platform:

Additional context

Metadata

Metadata

Labels

topic: CLIRelated to the command line interfacetopic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions