diff mbox

tools: virsh: Add some example values to attach-disk --help

Message ID 7d8be3d93aa4940236ab8f6e1eda8bae58d30e49.1460254687.git.crobinso@redhat.com
State New
Headers show

Commit Message

Cole Robinson April 10, 2016, 2:18 a.m. UTC
https://bugzilla.redhat.com/show_bug.cgi?id=982630
---
 tools/virsh-domain.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

-- 
2.7.3

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
diff mbox

Patch

diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c
index 36d0353..46598bb 100644
--- a/tools/virsh-domain.c
+++ b/tools/virsh-domain.c
@@ -322,11 +322,11 @@  static const vshCmdOptDef opts_attach_disk[] = {
     },
     {.name = "driver",
      .type = VSH_OT_STRING,
-     .help = N_("driver of disk device")
+     .help = N_("driver of disk device (qemu|...)")
     },
     {.name = "subdriver",
      .type = VSH_OT_STRING,
-     .help = N_("subdriver of disk device")
+     .help = N_("subdriver of disk device (raw|qcow2|vmdk|...)")
     },
     {.name = "iothread",
      .type = VSH_OT_STRING,
@@ -338,7 +338,7 @@  static const vshCmdOptDef opts_attach_disk[] = {
     },
     {.name = "type",
      .type = VSH_OT_STRING,
-     .help = N_("target device type")
+     .help = N_("target device type (disk|cdrom|floppy|...)")
     },
     {.name = "shareable",
      .type = VSH_OT_ALIAS,
@@ -346,11 +346,11 @@  static const vshCmdOptDef opts_attach_disk[] = {
     },
     {.name = "mode",
      .type = VSH_OT_STRING,
-     .help = N_("mode of device reading and writing")
+     .help = N_("mode of device reading and writing (readonly|shareable)")
     },
     {.name = "sourcetype",
      .type = VSH_OT_STRING,
-     .help = N_("type of source (block|file)")
+     .help = N_("type of source (block|file|...)")
     },
     {.name = "serial",
      .type = VSH_OT_STRING,