tor-fw-helper option names don't match between docs and code
Specifically, the long options corresponding to -T
, -v
, and -p
are not all the same. There are --test-commandline
, --test
, and --Test
. There are --port
and --forward-port
. The man page doesn't document the --verbose
synonym for -v
.
tor-fw-helper.c
:
{"help", 0, 0, 'h'},
{"test-commandline", 0, 0, 'T'},
{"verbose", 0, 0, 'v'},
{"fetch-public-ip", 0, 0, 'g'},
{"port", 1, 0, 'p'},
tor-fw-helper -h
:
[-h|--help]
[-T|--Test]
[-v|--verbose]
[-g|--fetch-public-ip]
[-p|--forward-port ([<external port>]:<internal port>)]
tor-fw-helper.1
:
-h or --help
-T or --test
-v
-g or --fetch-public-ip
-p or --forward-port