]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd: use image-spec and snap-spec in rbd help
authorVikhyat Umrao <vumrao@redhat.com>
Thu, 16 Jul 2015 16:09:54 +0000 (21:39 +0530)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 27 Jul 2015 09:22:04 +0000 (12:22 +0300)
commit99093881718d17eaf4119ea74a310f20d9d07157
tree6a6edc5512486d0ec229098d58e285ef7f59833c
parentf753c109fcfd0578017d7ae0d3345105217777a0
rbd: use image-spec and snap-spec in rbd help

This patch changes image-name instances to image-spec and snap-name
instances to snap-spec to try to clarify usage for some commands and
disambiguate the term {image,snap}-name, which has been used to denote
both simple names and compound names (specs).

<image-spec> is [<pool-name>]/<image-name>
<snap-spec> is [<pool-name>]/<image-name>@<snap-name>

This patch also removes duplicate checks for image-name and snap-name.

Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
[idryomov@gmail.com: some commands take either image-spec or snap-spec,
other fixes, formatting, changelog]
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
doc/man/8/rbd.rst
src/common/ceph_argparse.cc
src/rbd.cc
src/test/cli/rbd/help.t