Files
softlan-vpn/crates/lanparty-gateway
ddidderr 829ffe9b95 feat(gateway): accept iface CLI alias
PLAN.md tells LAN hosts to start the gateway with --iface, while the binary
only accepted --interface. Add --iface as a Clap alias so the documented
Phase 1 command works without changing the canonical config field name.

The README gateway example now uses the shorthand from the plan, and a focused
parse test covers the alias mapping to the same interface field.

Test Plan:
- cargo fmt --check
- cargo test -p lanparty-gateway \
  accepts_iface_alias_for_gateway_interface -- --nocapture
- cargo test -p lanparty-gateway
- cargo clippy -p lanparty-gateway --all-targets -- -D warnings
- cargo test --workspace
- cargo clippy --workspace --all-targets -- -D warnings
- git diff --check

Refs: PLAN.md
2026-05-21 21:30:00 +02:00
..
2026-05-21 21:30:00 +02:00