diff options
Diffstat (limited to 'pytools/gpioutil')
-rw-r--r-- | pytools/gpioutil | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pytools/gpioutil b/pytools/gpioutil index b6ec5ea..58e02e6 100644 --- a/pytools/gpioutil +++ b/pytools/gpioutil @@ -19,6 +19,9 @@ def printUsage(): if (len(sys.argv) < 2): printUsage() +# Pop the command name and point to the args +sys.argv.pop(0) + GPIO_SYSFS = '/sys/class/gpio/' class Gpio: |