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

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



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


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