From: Josh Durgin Date: Thu, 3 Jan 2013 00:15:18 +0000 (-0800) Subject: rbd: regenerate man page and cli test X-Git-Tag: v0.57~195^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d7cdcc0e25619669e78cc91c12c1c52935451105;p=ceph.git rbd: regenerate man page and cli test Signed-off-by: Josh Durgin --- diff --git a/man/rbd.8 b/man/rbd.8 index 6004244e0ba4..ee3bff7b5fb1 100644 --- a/man/rbd.8 +++ b/man/rbd.8 @@ -1,4 +1,4 @@ -.TH "RBD" "8" "December 05, 2012" "dev" "Ceph" +.TH "RBD" "8" "January 02, 2013" "dev" "Ceph" .SH NAME rbd \- manage rados block device (RBD) images . @@ -63,7 +63,7 @@ Interact with the given pool. Required by most commands. .SH PARAMETERS .INDENT 0.0 .TP -.B \-\-format format +.B \-\-image\-format format Specifies which object layout to use. The default is 1. .INDENT 7.0 .IP \(bu 2 @@ -132,6 +132,16 @@ be open from more than one client at once, like during live migration of a virtual machine, or for use underneath a clustered filesystem. .UNINDENT +.INDENT 0.0 +.TP +.B \-\-format format +Specifies output formatting (default: plain, json, xml) +.UNINDENT +.INDENT 0.0 +.TP +.B \-\-pretty\-format +Make json or xml formatted output more human-readable. +.UNINDENT .SH COMMANDS .INDENT 0.0 .TP diff --git a/src/test/cli/rbd/help.t b/src/test/cli/rbd/help.t index e1f6a2f9ecd5..cb5ffe8cc8a0 100644 --- a/src/test/cli/rbd/help.t +++ b/src/test/cli/rbd/help.t @@ -45,18 +45,21 @@ individual pieces of names with -p/--pool, --image, and/or --snap. Other input options: - -p, --pool source pool name - --image image name - --dest destination [pool and] image name - --snap snapshot name - --dest-pool destination pool name - --path path name for import/export - --size size of image for create and resize - --order the object size in bits; object size will be - (1 << order) bytes. Default is 22 (4 MB). - --format format to use when creating an image - format 1 is the original format (default) - format 2 supports cloning - --id rados user (without 'client.' prefix) to authenticate as - --keyfile file containing secret key for use with cephx - --shared take a shared (rather than exclusive) lock + -p, --pool source pool name + --image image name + --dest destination [pool and] image name + --snap snapshot name + --dest-pool destination pool name + --path path name for import/export + --size size of image for create and resize + --order the object size in bits; object size will be + (1 << order) bytes. Default is 22 (4 MB). + --image-format format to use when creating an image + format 1 is the original format (default) + format 2 supports cloning + --id rados user (without 'client.'prefix) to + authenticate as + --keyfile file containing secret key for use with cephx + --shared take a shared (rather than exclusive) lock + --format output format (default: plain, json, xml) + --pretty-format make json or xml output more readable