diff --git a/main.py b/main.py index 3dbaa81..382c5aa 100755 --- a/main.py +++ b/main.py @@ -49,17 +49,35 @@ def main(): parser.add_argument('--mqtt-port', type=int, default=1883) parser.add_argument('--mqtt-user') parser.add_argument('--mqtt-pass', '--mqtt-password') - parser.add_argument('--mqtt-topic', default='/voc/alert') + parser.add_argument( + '--mqtt-topic', + default='/voc/alert', + help='mqtt topic to listen on, default /voc/alert', + ) # sACN sacn = parser.add_mutually_exclusive_group(required=True) - sacn.add_argument('--sacn-multicast', action='store_true') - sacn.add_argument('--sacn-target') + sacn.add_argument( + '--sacn-multicast', action='store_true', help='use sACN multicast' + ) + sacn.add_argument('--sacn-target', help='send sACN unicast to specified address') # Lights - parser.add_argument('--ignition-wal-l710', nargs='+', type=int) - parser.add_argument('--varytec-wash-zoom-712', nargs='+', type=int) - parser.add_argument('--wled', nargs='+', type=int) + parser.add_argument( + '--ignition-wal-l710', + nargs='+', + type=int, + help='dmx start addresses of Ignition WAL-L710', + ) + parser.add_argument( + '--varytec-wash-zoom-712', + nargs='+', + type=int, + help='dmx start addresses of Varytec Hero Wash 712 Z', + ) + parser.add_argument( + '--wled', nargs='+', type=int, help='dmx start addresses of WLED receivers' + ) args = parser.parse_args()