render / rpms / libvirt

Forked from rpms/libvirt 9 months ago
Clone
9119d9
From 66868716a944a88093cc4aff1837a1d2c93d3532 Mon Sep 17 00:00:00 2001
9119d9
Message-Id: <66868716a944a88093cc4aff1837a1d2c93d3532@dist-git>
9119d9
From: Jiri Denemark <jdenemar@redhat.com>
9119d9
Date: Fri, 12 Sep 2014 10:05:32 +0200
9119d9
Subject: [PATCH] virsh: Move --completed from resume to domjobinfo
9119d9
9119d9
Because of similar contexts, git rebase I did just before pushing the
9119d9
series which added --completed option patched the wrong command.
9119d9
9119d9
(cherry picked from commit 58252332eb365b93ba1d1067b3e162668eb2f1aa)
9119d9
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
9119d9
9119d9
https://bugzilla.redhat.com/show_bug.cgi?id=1063724
9119d9
---
9119d9
 tools/virsh-domain.c | 8 ++++----
9119d9
 1 file changed, 4 insertions(+), 4 deletions(-)
9119d9
9119d9
diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c
9119d9
index 80b06ce..1ff264e 100644
9119d9
--- a/tools/virsh-domain.c
9119d9
+++ b/tools/virsh-domain.c
9119d9
@@ -4905,10 +4905,6 @@ static const vshCmdOptDef opts_resume[] = {
9119d9
      .flags = VSH_OFLAG_REQ,
9119d9
      .help = N_("domain name, id or uuid")
9119d9
     },
9119d9
-    {.name = "completed",
9119d9
-     .type = VSH_OT_BOOL,
9119d9
-     .help = N_("return statistics of a recently completed job")
9119d9
-    },
9119d9
     {.name = NULL}
9119d9
 };
9119d9
 
9119d9
@@ -5168,6 +5164,10 @@ static const vshCmdOptDef opts_domjobinfo[] = {
9119d9
      .flags = VSH_OFLAG_REQ,
9119d9
      .help = N_("domain name, id or uuid")
9119d9
     },
9119d9
+    {.name = "completed",
9119d9
+     .type = VSH_OT_BOOL,
9119d9
+     .help = N_("return statistics of a recently completed job")
9119d9
+    },
9119d9
     {.name = NULL}
9119d9
 };
9119d9
 
9119d9
-- 
9119d9
2.1.0
9119d9