[libvirt] [PATCHv2 1/2] virsh: allow alias to expand to opt=value pair

2013-10-24 Thread Eric Blake
We want to treat 'attach-disk --shareable' as an undocumented alias for 'attach-disk --mode=shareable'. By improving our alias handling, we can allow all such --bool - --opt=value replacements, and guarantee up front that the alias is not mixed with its replacement. * tools/virsh.c

Re: [libvirt] [PATCHv2 1/2] virsh: allow alias to expand to opt=value pair

2013-10-24 Thread Chen Hanxiao
-Original Message- From: Eric Blake [mailto:ebl...@redhat.com] Sent: Thursday, October 24, 2013 3:22 PM To: libvir-list@redhat.com Cc: chenhanx...@cn.fujitsu.com Subject: [PATCHv2 1/2] virsh: allow alias to expand to opt=value pair We want to treat 'attach-disk --shareable' as