From 249c2586e9301a01e82922820fcac2a31f458083 Mon Sep 17 00:00:00 2001 From: Tobias Gesellchen Date: Sun, 17 May 2026 19:52:54 +0200 Subject: [PATCH] chore(make): use RFC-5737 documentation IPs in help-text examples MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Five `192.168.1.x` references in Makefile usage-error messages and the `make help` example block. Same hygiene argument as the docs sweep in 136d24a — replaced with `192.0.2.x` so the example output clearly reads as a placeholder, not a real LAN. Behaviour unchanged: these are echo-only strings printed when the user forgets to set HOST=… or asks for `make help`. The HOST= contract is unaffected. Co-Authored-By: Claude Opus 4.7 (1M context) --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 5239d2f..d6354a6 100644 --- a/Makefile +++ b/Makefile @@ -252,7 +252,7 @@ dev-discover: build-cli dev-info: build-cli @echo "Getting device info (requires -host flag)..." @if [ -z "$(HOST)" ]; then \ - echo "Usage: make dev-info HOST=192.168.1.10"; \ + echo "Usage: make dev-info HOST=192.0.2.10"; \ exit 1; \ fi $(BUILD_DIR)/$(BINARY_NAME) -host $(HOST) -info @@ -328,7 +328,7 @@ dev-backup-local: build-backup dev-web-host: build-web @echo "Starting web UI with specific host..." @if [ -z "$(HOST)" ]; then \ - echo "Usage: make dev-web-host HOST=192.168.1.10"; \ + echo "Usage: make dev-web-host HOST=192.0.2.10"; \ exit 1; \ fi cd cmd/soundtouch-web && ../../$(BUILD_DIR)/$(WEB_NAME) -host $(HOST) @@ -488,9 +488,9 @@ help: @echo "" @echo "Examples:" @echo " make dev-service" - @echo " make dev-service-proxy PROXY_URL=http://192.168.1.50:8001" + @echo " make dev-service-proxy PROXY_URL=http://192.0.2.50:8001" @echo " make dev-discover" - @echo " make dev-info HOST=192.168.1.10" + @echo " make dev-info HOST=192.0.2.10" @echo " make dev-mdns" @echo " make dev-mdns-verbose" @echo " make dev-mdns-timeout TIMEOUT=10s" @@ -501,6 +501,6 @@ help: @echo " make dev-scan-soundtouch" @echo " make dev-web" @echo " make dev-web-port PORT=8888" - @echo " make dev-web-host HOST=192.168.1.10" + @echo " make dev-web-host HOST=192.0.2.10" @echo " make test" @echo " make build-all"