mirror of
https://github.com/coturn/coturn.git
synced 2026-05-12 09:40:35 +00:00
61332bebca
The turnserver man page had drifted from the actual CLI options the binary accepts. The shipped `man/man1/turnserver.1` was last regenerated on 05 June 2021, so several options added since then were missing and one removed option was still documented. The man page is auto-generated from `README.turnserver` via `make-man.sh` (txt2man), so the source-of-truth edit is in the README; the `.1` files are then regenerated. In `README.turnserver`: - Add 13 options that exist in `mainrelay.c` long_options[] but were undocumented: --include-reason-string, --syslog-facility, --drop-invalid-packets, --drop-invalid-packets-log, --udp-recvmmsg, --respond-http-unsupported, --prometheus-address, --prometheus-path, --version, --cpus, --no-cli, --no-rfc5780, --response-origin-only-with-rfc5780. - Document --sql-userdb as an alias on the existing --psql-userdb line. - Remove the stale --ne=[1|2|3] entry (no longer parsed by the binary). The regenerated `man/man1/turnserver.1` also picks up a backlog of options that were already in the README but never reached the shipped page (--software-attribute, --cli, --sock-buf-size, --raw-public-keys, --stun-backward-compatibility, and the corrected --no-tlsv1_2 wording). `man/man1/turnadmin.1` and `man/man1/turnutils.1` are regenerated as a side-effect of `make-man.sh` running over all three READMEs; their content was similarly stale relative to README.turnadmin / README.turnutils.