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

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

 



https://bugzilla.redhat.com/show_bug.cgi?id=982630
---
 tools/virsh-domain.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

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,
-- 
2.7.3

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