mirror of
https://github.com/smittix/intercept.git
synced 2026-06-21 11:48:28 -07:00
e204901d18
The get_acarsdec_json_flag() function was defaulting to the obsolete '-o' flag when detection failed, causing "invalid option -- 'o'" errors with modern acarsdec builds from TLeconte repository. Changes: - Try both -h and --help flags for better compatibility - Improve -j flag detection patterns - Default to -j (modern standard) instead of -o - Only use -o if explicitly documented in help text This fixes ACARS decoder startup failures on systems where acarsdec was built from source using setup.sh. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>