docs: align gateway test command with cli help
Use the canonical --interface flag in the README and MVP test guide so the handoff command matches lanparty-gateway --help. Keep --iface documented as the shorter accepted alias because the CLI and tests still support it. Test Plan: - ./target/release/lanparty-gateway --help - cargo test -p lanparty-gateway accepts_iface_alias_for_gateway_interface - git diff --check - git diff --cached --check Refs: MVP test handoff polish
This commit is contained in:
+4
-3
@@ -90,11 +90,12 @@ sudo ./target/release/lanparty-gateway \
|
||||
--server-name lanparty-relay.local \
|
||||
--relay-ca-cert ./relay-cert.der \
|
||||
--room ROOM1 \
|
||||
--iface eth0
|
||||
--interface eth0
|
||||
```
|
||||
|
||||
Use the real wired LAN interface name for `--iface`. Do not use Wi-Fi. The
|
||||
gateway fails before joining the relay if sysfs reports no Ethernet carrier.
|
||||
Use the real wired LAN interface name for `--interface`. `--iface` is accepted
|
||||
as a shorter alias. Do not use Wi-Fi. The gateway fails before joining the
|
||||
relay if sysfs reports no Ethernet carrier.
|
||||
|
||||
Expected gateway output:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user