]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
virsh: Move --completed from resume to domjobinfo
authorJiri Denemark <jdenemar@redhat.com>
Fri, 12 Sep 2014 08:05:32 +0000 (10:05 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 12 Sep 2014 08:18:04 +0000 (10:18 +0200)
Because of similar contexts, git rebase I did just before pushing the
series which added --completed option patched the wrong command.

tools/virsh-domain.c

index cc1e5546fd543c69a12ae2c72c44f5504836be1c..30b3fa9742f9e77ce2758007cf021b6ae76b9dfe 100644 (file)
@@ -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}
 };