[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #7768 [Tor]: for-fw-helper option names don't match between docs and code
#7768: for-fw-helper option names don't match between docs and code
--------------------+-------------------------------------------------------
Reporter: dcf | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Tor | Version:
Keywords: | Parent:
Points: | Actualpoints:
--------------------+-------------------------------------------------------
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
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7768>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs