[PATCH 0/4] Introduce aliases for virt-admin's srv-* commands

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

 



So, as suggested by Martin in [1], this series tweaks the command alias
handling logic, so that when creating alias, it is not necessary to duplicate
the original command's structure, thus creating a bit more noise. Instead,
the new format for an alias structure hints very clearly that it's just an
alias for a different command, while linking the alias with the original
command's data by using new element '.alias'.

[1] https://www.redhat.com/archives/libvir-list/2016-September/msg00129.html

Erik Skultety (4):
  tests: fix incorrect status handling by virsh-self-test
  virt-admin: Tweak command parsing logic so that aliases point to new
    commands
  virt-admin: Add some command aliases to provide syntax sugar over ugly
    commands
  virt-admin: Replace the (now) aliases with new command names in the
    man page

 tests/virsh-self-test |  2 +-
 tools/virsh-nodedev.c |  6 ++----
 tools/virsh.c         |  3 ++-
 tools/virt-admin.c    | 24 ++++++++++++++++++++++++
 tools/virt-admin.pod  | 30 +++++++++++++++---------------
 tools/vsh.c           |  6 ++++++
 tools/vsh.h           |  1 +
 7 files changed, 51 insertions(+), 21 deletions(-)

-- 
2.5.5

--
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]