[libvirt] [PATCH] virsh: Move --completed from resume to domjobinfo

Jiri Denemark jdenemar at redhat.com
Fri Sep 12 08:32:40 UTC 2014


Because of similar contexts, git rebase I did just before pushing the
series which added --completed option patched the wrong command.

Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
---

Pushed as trivial.

 tools/virsh-domain.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c
index cc1e554..30b3fa9 100644
--- a/tools/virsh-domain.c
+++ b/tools/virsh-domain.c
@@ -5114,10 +5114,6 @@ static const vshCmdOptDef opts_resume[] = {
      .flags = VSH_OFLAG_REQ,
      .help = N_("domain name, id or uuid")
     },
-    {.name = "completed",
-     .type = VSH_OT_BOOL,
-     .help = N_("return statistics of a recently completed job")
-    },
     {.name = NULL}
 };
 
@@ -5377,6 +5373,10 @@ static const vshCmdOptDef opts_domjobinfo[] = {
      .flags = VSH_OFLAG_REQ,
      .help = N_("domain name, id or uuid")
     },
+    {.name = "completed",
+     .type = VSH_OT_BOOL,
+     .help = N_("return statistics of a recently completed job")
+    },
     {.name = NULL}
 };
 
-- 
2.1.0




More information about the libvir-list mailing list