More small tidyups

- switch to using sys.exit instead of exit
 - always exit with error-code 1
 - don't bother testing error-codes
 - documentation wording tweak
This commit is contained in:
Andrew Scheller
2016-12-18 03:33:50 +00:00
parent 117e4f5972
commit fc54667f34
3 changed files with 3 additions and 8 deletions

View File

@@ -7,7 +7,7 @@ Pinout
The gpiozero package contains a database of information about the various
revisions of Raspberry Pi. This is queried by the ``pinout`` command-line
tool to write details of the GPIO pins available.
tool to output details of the GPIO pins available.
Unless specified, the revision of the current device will be detected. A
particular revision may be selected with the --revision command-line