diff options
author | Diego Elio Pettenò <flameeyes@flameeyes.eu> | 2017-04-15 16:08:33 +0200 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@flameeyes.eu> | 2017-04-15 16:08:33 +0200 |
commit | 032cd0cf3b58dcbb80d066c5409ea15c2af258ff (patch) | |
tree | e2fac1c868c21f145220488f5d7fa6098160a1b0 /glucometer.py | |
parent | Add a --vlog option to enable verbose logging. (diff) | |
download | glucometerutils-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-x | glucometer.py | 5 |
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, |