]> xenbits.xensource.com Git - libvirt.git/commit
virsh: add command aliases, and rename nodedev-detach
authorEric Blake <eblake@redhat.com>
Fri, 2 Mar 2012 19:01:06 +0000 (12:01 -0700)
committerEric Blake <eblake@redhat.com>
Thu, 8 Mar 2012 01:24:44 +0000 (18:24 -0700)
commitaf3f9aabdee73472a9dd7758f88b9dde508be73f
tree718e3f053e01cc6a20fad3740fe82c1a74ac15a5
parent3d150d328b1c655a9ba5c644445db1146176ec69
virsh: add command aliases, and rename nodedev-detach

Just because our public API has a typo doesn't mean that virsh
has to keep the typo.

* tools/virsh.c (VSH_CMD_FLAG_ALIAS): New flag.
(nodedevCmds): Use it.
(cmdHelp): Omit alias commands.
(cmdNodeDeviceDettach): Rename...
(cmdNodeDeviceDetach): ...to this.
* tools/virsh.pod (nodedev-detach): Document it.
tools/virsh.c
tools/virsh.pod