summaryrefslogtreecommitdiffstats
path: root/glucometer.py
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.eu>2017-04-15 16:08:33 +0200
committerDiego Elio Pettenò <flameeyes@flameeyes.eu>2017-04-15 16:08:33 +0200
commit032cd0cf3b58dcbb80d066c5409ea15c2af258ff (patch)
treee2fac1c868c21f145220488f5d7fa6098160a1b0 /glucometer.py
parentAdd a --vlog option to enable verbose logging. (diff)
downloadglucometerutils-032cd0cf3b58dcbb80d066c5409ea15c2af258ff.tar
glucometerutils-032cd0cf3b58dcbb80d066c5409ea15c2af258ff.tar.gz
glucometerutils-032cd0cf3b58dcbb80d066c5409ea15c2af258ff.tar.bz2
glucometerutils-032cd0cf3b58dcbb80d066c5409ea15c2af258ff.tar.lz
glucometerutils-032cd0cf3b58dcbb80d066c5409ea15c2af258ff.tar.xz
glucometerutils-032cd0cf3b58dcbb80d066c5409ea15c2af258ff.tar.zst
glucometerutils-032cd0cf3b58dcbb80d066c5409ea15c2af258ff.zip
Diffstat (limited to '')
-rwxr-xr-xglucometer.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/glucometer.py b/glucometer.py
index be8fb02..63ea8fc 100755
--- a/glucometer.py
+++ b/glucometer.py
@@ -25,8 +25,9 @@ def main():
'--driver', action='store', required=True,
help='Select the driver to use for connecting to the glucometer.')
parser.add_argument(
- '--device', action='store', required=True,
- help='Select the path to the glucometer device.')
+ '--device', action='store', required=False,
+ help=('Select the path to the glucometer device. Some devices require this '
+ 'argument, others will try autodetection.'))
parser.add_argument(
'--vlog', action='store', required=False, type=int,