> -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 --shareabl
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 (vshCmddefOpt