diff options
author | Josh Durgin <josh.durgin@dreamhost.com> | 2011-11-03 15:45:43 -0700 |
---|---|---|
committer | Josh Durgin <josh.durgin@dreamhost.com> | 2011-11-03 15:46:13 -0700 |
commit | 256ac72abc54504d613f2513fd8ac0a6a1e722fa (patch) | |
tree | 28739542062413f456cfbee90091cade78771515 /src/rbd.cc | |
parent | 0f98006ca7457f922b9dbb0c720c1d915b14d19c (diff) | |
download | ceph-256ac72abc54504d613f2513fd8ac0a6a1e722fa.tar.gz |
rbd: document --order and list required args where they're necessary
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Diffstat (limited to 'src/rbd.cc')
-rw-r--r-- | src/rbd.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rbd.cc b/src/rbd.cc index d0c3906e778..97573894ca1 100644 --- a/src/rbd.cc +++ b/src/rbd.cc @@ -66,10 +66,8 @@ void usage() << " <ls | list> [pool-name] list rbd images\n" << " info <--snap=name> [image-name] show information about image size,\n" << " striping, etc.\n" - << " create [image-name] create an empty image (requires size\n" - << " param)\n" - << " resize [image-name] resize (expand or contract) image\n" - << " (requires size param)\n" + << " create <--order=bits> [--size MB] [name] create an empty image\n" + << " resize [--size MB] [image-name] resize (expand or contract) image\n" << " rm [image-name] delete an image\n" << " export <--snap=name> [image-name] [path] export image to file\n" << " import [path] [dst-image] import image from file (dest defaults\n" @@ -94,6 +92,8 @@ void usage() << " --dest-pool <name> destination pool name\n" << " --path <path-name> path name for import/export (if not specified)\n" << " --size <size in MB> size parameter for create and resize commands\n" + << " --order <bits> the object size in bits, such that the objects\n" + << " are (1 << order) bytes. Default is 22 (4 MB).\n" << "\n" << "For the map command:\n" << " --user <username> rados user to authenticate as\n" |