[libvirt] [PATCH 0/3] virsh: add command and option aliases

Eric Blake eblake at redhat.com
Sat Mar 3 01:01:59 UTC 2012


I'm tired of publicizing typos.  These patches preserve full
back-compat (scripts that used the old spelling will continue
to work), we just don't document the old spellings.

I started this patch because we have the memory commands that
take a --kilobyte argument when they really mean KiB (kibibyte
or 1024); I plan to use the aliasing feature in my later units
cleanup series to fix this naming to instead take scaled sizes
(such as --size=1M or --size=1024bytes); at which point --kilobyte
will be the undocumented alias so that we no longer document a
name that might then be confused for 1000.

Eric Blake (3):
  virsh: add option aliases
  virsh: use option aliases
  virsh: add command aliases, and rename nodedev-detach

 tests/virshtest.c |    6 +++
 tools/virsh.c     |  107 +++++++++++++++++++++++++++++++++++++---------------
 tools/virsh.pod   |   28 +++++++------
 3 files changed, 97 insertions(+), 44 deletions(-)

-- 
1.7.7.6




More information about the libvir-list mailing list