Skip to content

Commit

Permalink
Fix call bcg devices
Browse files Browse the repository at this point in the history
  • Loading branch information
blavka committed Jan 8, 2018
1 parent 3332804 commit 2976b8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bcg/gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ def main():
subparsers['devices'].add_argument('-s', '--include-links', action='store_true', help='include entries that are symlinks to real devices')

argp.add_argument('-c', '--config', help='path to configuration file (YAML format)')
argp.add_argument('-d', '--device', help='device', required='-c' not in sys.argv and '--config' not in sys.argv)
argp.add_argument('-d', '--device', help='device')
argp.add_argument('-H', '--mqtt-host', help='MQTT host to connect to (default is localhost)')
argp.add_argument('-P', '--mqtt-port', help='MQTT port to connect to (default is 1883)')
argp.add_argument('--no-wait', help='no wait on connect or reconnect serial port', action='store_true')
Expand Down

0 comments on commit 2976b8f

Please sign in to comment.