Re: [virt-manager PATCH] virt-install: add "-c" as short option of "--connect"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list

[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux