
24 Aug
2010
24 Aug
'10
12:53 p.m.
Dear Mike Frysinger,
this usage string no longer makes sense. how about: "[<bus>:]<cs>[.<mode>] <bit_len> <dout> - Send <bit_len> bits from <dout> out the SPI\n"
The problem is, that without blowing up the parser even more, only 2 forms of the command are valid:
the classic form
<cs> <bit_len> <dout>
or
<bus>:<cs>[.<mode>] <bit_len> <dout>
Since this command is mainly used for testing/debugging hardware, I saw no need to allow the form
<cs>.<mode> <bit_len> <dout>
If thats ok, I can make a patch with the help fixed.
Best Regards Reinhard