Change -port to -listen with flexible address format

Supports host:port, host, or :port for binding to specific
interfaces. Useful for running alongside other ArtNet software.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Ian Gulliver
2025-12-22 10:06:13 -08:00
parent 081057f68a
commit cdb769d059
3 changed files with 53 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
# artmap configuration
# Run with: go run . -config config.toml [-port 6454] [-broadcast 2.255.255.255]
# Run with: go run . -config config.toml [-listen :6454] [-broadcast 2.255.255.255]
# Address format:
# from: universe[:channels] - range specifies which channels to read