xshellinc / iotit

Flashing Tool for SBCs
Apache License 2.0
25 stars 1 forks source link

Output shows whole error message #66

Closed makeupsomething closed 7 years ago

makeupsomething commented 7 years ago

If i do not have any value when selecting a device in iotit and press enter i get this output

daryl-no-MacBook-Pro:iotit daryl$ ./iotit
   [1] raspberry-pi
   [2] edison
   [3] nano-pi
   [4] beaglebone
   [5] Custom
[?] Select device type: 
[-] Invalid user input,  strconv.Atoi: parsing "": invalid syntax  please repeat: 

It should be

[-] Invalid input. Select device type: 
tectiv3 commented 7 years ago

Please update tools and try again. I suppressed that totally unneeded error.