mirror of
https://github.com/smittix/intercept.git
synced 2026-05-17 13:24:50 -07:00
The previous detection logic incorrectly matched '-o' in help text for version 4.x, causing startup failures. Now properly detects version: - Version 4.0+: uses -j for JSON stdout - Version 3.x: uses -o 4 for JSON stdout Parses version from acarsdec output (e.g., "Acarsdec v4.3.1" or "Acarsdec/acarsserv 3.7") to determine the correct flag. Fixes: "invalid option -- 'o'" error on modern acarsdec builds Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
11 KiB
11 KiB