From patchwork Sun Apr 10 02:18:07 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cole Robinson X-Patchwork-Id: 65435 Delivered-To: patch@linaro.org Received: by 10.112.43.237 with SMTP id z13csp785254lbl; Sat, 9 Apr 2016 19:20:46 -0700 (PDT) X-Received: by 10.28.94.5 with SMTP id s5mr3823839wmb.26.1460254846468; Sat, 09 Apr 2016 19:20:46 -0700 (PDT) Return-Path: Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com. [209.132.183.25]) by mx.google.com with ESMTPS id km9si21188418wjb.149.2016.04.09.19.20.45 (version=TLS1 cipher=AES128-SHA bits=128/128); Sat, 09 Apr 2016 19:20:46 -0700 (PDT) Received-SPF: pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.25 as permitted sender) client-ip=209.132.183.25; Authentication-Results: mx.google.com; spf=pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.25 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u3A2ICp7000427; Sat, 9 Apr 2016 22:18:12 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u3A2IB2b007283 for ; Sat, 9 Apr 2016 22:18:11 -0400 Received: from colepc.redhat.com (ovpn-113-40.phx2.redhat.com [10.3.113.40]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u3A2IBns027726; Sat, 9 Apr 2016 22:18:11 -0400 From: Cole Robinson To: libvirt-list@redhat.com Date: Sat, 9 Apr 2016 22:18:07 -0400 Message-Id: <7d8be3d93aa4940236ab8f6e1eda8bae58d30e49.1460254687.git.crobinso@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH] tools: virsh: Add some example values to attach-disk --help X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com 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 --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,