todbot / blink1

Official software for blink(1) USB RGB LED by ThingM
https://blink1.thingm.com/
Other
958 stars 236 forks source link

blink1-tool: note needing to escape hex color codes w/'#' #254

Open todbot opened 9 years ago

todbot commented 9 years ago

On some shells (bash on Raspbian confirmed), the '#' character is treated as a comment and so short-circuits blink1-tool argument parsing. Thus, this fails:

$ ./blink1-tool  --rgb #0000ff
./blink1-tool: option '--rgb' requires an argument

but these work:

./blink1-tool --rgb '#0000ff'
./blink1-tool --rgb 0000ff

Need to fix: blink1-tool usage page, blink1-tool page on blink1.thingm.com

h/t @jedgarpark