[Pkg-anonymity-tools] Bug#760164: buggy argument parsing of -u and -p options

Nomen Nescio nobody at dizum.com
Mon Sep 1 13:05:24 UTC 2014


Package: torsocks
Version: 2.0.0-1
Severity: minor

Torsocks doesn't recognise the arguments to the -u (--user) and -p
(--pass) options if they immediately follow the option characters:

$ torsocks -uMyUser -pMyPass /bin/true
Illegal option -u
/usr/bin/torsocks: 98: local: /usr/bin/which: bad variable name

It works if you put a space between the option and the argument:

$ torsocks -u MyUser -p MyPass /bin/true

Torsocks should support the former syntax too, as it is standard on
UNIX-like systems.



More information about the Pkg-anonymity-tools mailing list