Re: [PATCH] virsh: update virsh desc help docs

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

 



Dňa 8.2.2012 7:12, ajia@xxxxxxxxxx  wrote / napísal(a):
From: Alex Jia<ajia@xxxxxxxxxx>

The function cmdDesc says 'current is ignored', so should remove related
part from help docs.

Signed-off-by: Alex Jia<ajia@xxxxxxxxxx>
---
  tools/virsh.c |    1 -
  1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/tools/virsh.c b/tools/virsh.c
index c107d8c..e60ef5a 100644
--- a/tools/virsh.c
+++ b/tools/virsh.c
@@ -1038,7 +1038,6 @@ static const vshCmdOptDef opts_desc[] = {
      {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain name, id or uuid")},
      {"live", VSH_OT_BOOL, 0, N_("modify/get running state")},
      {"config", VSH_OT_BOOL, 0, N_("modify/get persistent configuration")},
-    {"current", VSH_OT_BOOL, 0, N_("modify/get current state configuration")},
      {"title", VSH_OT_BOOL, 0, N_("modify the title instead of description")},
      {"edit", VSH_OT_BOOL, 0, N_("open an editor to modify the description")},
      {"new-desc", VSH_OT_ARGV, 0, N_("message")},

NACK,

The current semantics of virsh commands requires that --current can only be used exclusively with --live and --config. I forgot that in the haste of trying to get the API in before the freeze. I will post a patch fixing this and the doc later today. Thanks for pointing out.

Peter

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