Vidalia parameter handling improvements (includes PATCH)
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.
Trac:
Username: jrklein