diff mbox

[for-2.6] qemu-nbd: Document -x option

Message ID 1459908128-11925-1-git-send-email-eblake@redhat.com
State New
Headers show

Commit Message

Eric Blake April 6, 2016, 2:02 a.m. UTC
Commit 3d4b2f9c added -x to force qemu-nbd to use new-style
negotiation, but while it documented it in the man page, it
omitted docs in the --help output.

Signed-off-by: Eric Blake <eblake@redhat.com>
---
 qemu-nbd.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Paolo Bonzini April 6, 2016, 8:07 a.m. UTC | #1
On 06/04/2016 04:02, Eric Blake wrote:
> Commit 3d4b2f9c added -x to force qemu-nbd to use new-style
> negotiation, but while it documented it in the man page, it
> omitted docs in the --help output.
> 
> Signed-off-by: Eric Blake <eblake@redhat.com>
> ---
>  qemu-nbd.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/qemu-nbd.c b/qemu-nbd.c
> index ca4a724..c2e4d3f 100644
> --- a/qemu-nbd.c
> +++ b/qemu-nbd.c
> @@ -75,6 +75,7 @@ static void usage(const char *name)
>  "  -e, --shared=NUM          device can be shared by NUM clients (default '1')\n"
>  "  -t, --persistent          don't exit on the last connection\n"
>  "  -v, --verbose             display extra debugging information\n"
> +"  -x, --export-name=NAME    expose export by name\n"
>  "\n"
>  "Exposing part of the image:\n"
>  "  -o, --offset=OFFSET       offset into the image\n"
> 

Thanks, queued.

Paolo
diff mbox

Patch

diff --git a/qemu-nbd.c b/qemu-nbd.c
index ca4a724..c2e4d3f 100644
--- a/qemu-nbd.c
+++ b/qemu-nbd.c
@@ -75,6 +75,7 @@  static void usage(const char *name)
 "  -e, --shared=NUM          device can be shared by NUM clients (default '1')\n"
 "  -t, --persistent          don't exit on the last connection\n"
 "  -v, --verbose             display extra debugging information\n"
+"  -x, --export-name=NAME    expose export by name\n"
 "\n"
 "Exposing part of the image:\n"
 "  -o, --offset=OFFSET       offset into the image\n"