]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd: import doesn't require image-spec arg, ditto for export and path
authorIlya Dryomov <idryomov@gmail.com>
Mon, 20 Jul 2015 14:22:54 +0000 (17:22 +0300)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 27 Jul 2015 09:22:04 +0000 (12:22 +0300)
commitbbc5c71284f978b41e64f8703c4288d04cff0d82
tree408acebf912aff713b7fe16145507d65a7992867
parent76989cc4aef1e14b1466b3c7644e2453515dc946
rbd: import doesn't require image-spec arg, ditto for export and path

Mark those as such in help and clarify what image-spec defaults to.

Related, all command args in our man page are enclosed into brackets.
I suppose the reason is that they are optional in the sense that you
can have commands like

    $ rbd clone --pool a --image b --snap -c --dest-pool d --dest e

with no args.  Given that we are trying to push people towards

    $ rbd clone a/b@c d/e

undo that so that real optional arguments can be marked optional.
While at it, add synopsis for each command and use backticks for
denoting commands more consistently.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
doc/man/8/rbd.rst
src/rbd.cc
src/test/cli/rbd/help.t