On Saturday 23 April 2005 06:52 pm, you wrote: > Mauro Tortonesi <[EMAIL PROTECTED]> writes: > > > i would change: > > > > --sslcerttype=0/1 to --sslcerttype=PEM/ASN1 > > --sslcheckcert=1/0 to --no-sslcheckcert/--sslcheckcert > > --sslprotocol=0-3 to --no-ssl/--ssl=SSLv2/SSLv3/TLSv1 > > The name could (and IMHO should) be made even more readable, > e.g. --ssl-cert-type or even --ssl-certificate-type. It might make > sense to drop the "ssl" prefix altogether because those options also > apply to TLS. The option would then be --certificate-type, which is > shorter and nicer. I believe curl has done that. > > Since --sslprotocol can specify TLS protocol, it might be more > accurate to name it --secure-protocol (--protocol is too general), > with the accepted values "auto" (default), "sslv2", "sslv3", and > "tlsv1", all case-insensitive. (Note that the current --sslprotocol=0 > does *not* correspond to --no-ssl; it means choose automatically. The > fact that it confused you is further proof of the brokenness of > current option names!)
--certificate-type and --secure-protocol seem fine for me. > > the other options seem fine to me, although i prefer names like > > --ssl_cert_file than --sslcertfile. > > Sure, except it should be --ssl-cert-file; Wget (and GNU software in > general) doesn't use underscores in option names. right. -- Aequam memento rebus in arduis servare mentem... Mauro Tortonesi http://www.tortonesi.com University of Ferrara - Dept. of Eng. http://www.ing.unife.it Institute of Human & Machine Cognition http://www.ihmc.us GNU Wget - HTTP/FTP file retrieval tool http://www.gnu.org/software/wget Deep Space 6 - IPv6 for Linux http://www.deepspace6.net Ferrara Linux User Group http://www.ferrara.linux.it
