Re: [PATCHv2 2/2] virsh: undocument --shareable (--mode already covers it)

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

 




> -----Original Message-----
> From: Eric Blake [mailto:eblake@xxxxxxxxxx]
> Sent: Thursday, October 24, 2013 3:22 PM
> To: libvir-list@xxxxxxxxxx
> Cc: chenhanxiao@xxxxxxxxxxxxxx
> Subject: [PATCHv2 2/2] virsh: undocument --shareable (--mode already covers
> it)
> 
> Commit e962a57 added 'attach-disk --shareable', even though we
> already had 'attach-disk --mode=shareable'.  Worse, if the user
> types 'attach-disk --mode=readonly --shareable', we create
> non-sensical XML.  The best solution is just to undocument the
> duplicate spelling, by having it fall back to the preferred
> spelling.
> 
> * tools/virsh-domain.c (cmdAttachDisk): Let alias handling fix our
> mistake in exposing a second spelling for an existing option.
> * tools/virsh.pod: Fix documentation.
> 
> Signed-off-by: Eric Blake <eblake@xxxxxxxxxx>
> ---
>  tools/virsh-domain.c | 11 ++++-------

ACK

Thanks!


--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]