[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #2965 [Vidalia]: Vidalia parameter handling improvements (includes PATCH)
#2965: Vidalia parameter handling improvements (includes PATCH)
-------------------------+--------------------------------------------------
Reporter: jrklein | Owner: chiiph
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Vidalia | Version: Vidalia 0.2.10
Keywords: | Parent:
Points: | Actualpoints:
-------------------------+--------------------------------------------------
Vidalia ignores parameters and values that are separated by an equal sign.
(ie: Vidalia --datadir=data --logfile=log)
Attached patch updates parseArguments() to support keys and values
separated by equal sign.
Vidalia does not reject parameters that should include a value.
(ie: Vidalia --datadir --logfile)
Attached patch calls argNeedsValue() from validateArguments() to determine
if value is required. Vidalia notifies user if required parameter value
is missing.
NOTE: validateArguments() was static, so could not call argNeedsValue().
No longer static. If function needs to be static, could pass an instance
of Vidalia as a function parameter instead.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2965>
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