On 02/11/2014 08:42 AM, Cole Robinson wrote:

> 
> This is actually one feature I hate of optparse: someone could have a valid
> command line using --conn, but if we ever added a new command line option that
> also started with --conn, a previously working command line would now be
> broken due to ambiguous arguments. I've never heard complaints about it in
> practice but it's something to consider.

This part is not as problematic as you think.  It is valid to add
'--conn' as an explicit long option name synonym of '--connect' at the
same time you add the new '--connxyz', so that --conn remains
unambiguous as the abbreviation for --connect.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
virt-tools-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-tools-list

Reply via email to