Skip to content

Commit 2976b8f

Browse files
committed
Fix call bcg devices
1 parent 3332804 commit 2976b8f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bcg/gateway.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ def main():
466466
subparsers['devices'].add_argument('-s', '--include-links', action='store_true', help='include entries that are symlinks to real devices')
467467

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

0 commit comments

Comments
 (0)