mirror of https://github.com/periph/devices
periph-smoketest: various usability improvements
This makes the tool more pleasant to use for newcomers and this makes flag parsing more coherent. - Print help on error. - Consistently use NewFlagSet() everywhere with Usage() that prints nicer help page. - Move code around for the ones that were not layed out in the same way as the rest. This is a breaking change for gpiosmoketest, since it is switched from undocumented positional arguments to flags.pull/1/head
parent
dd32a7900e
commit
e95c422e15
Loading…
Reference in New Issue