From: Ilya Dryomov Date: Fri, 7 Oct 2016 09:14:16 +0000 (+0200) Subject: rbd: fix up terminology in help texts X-Git-Tag: v11.1.0~688^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ba8f9ee791d55c4cf25ad751213ea6ba770b7434;p=ceph.git rbd: fix up terminology in help texts Signed-off-by: Ilya Dryomov --- diff --git a/src/test/cli/rbd/help.t b/src/test/cli/rbd/help.t index 43a105f504c..358606da378 100644 --- a/src/test/cli/rbd/help.t +++ b/src/test/cli/rbd/help.t @@ -864,8 +864,8 @@ -p [ --pool ] arg pool name --image arg image name --snap arg snapshot name - -o [ --options ] arg mapping options - --read-only mount read-only + -o [ --options ] arg map options + --read-only map read-only rbd help merge-diff usage: rbd merge-diff [--path ] [--no-progress] diff --git a/src/tools/rbd/action/Kernel.cc b/src/tools/rbd/action/Kernel.cc index 05430bae109..3ebece6156d 100644 --- a/src/tools/rbd/action/Kernel.cc +++ b/src/tools/rbd/action/Kernel.cc @@ -281,8 +281,8 @@ void get_map_arguments(po::options_description *positional, at::add_image_or_snap_spec_options(positional, options, at::ARGUMENT_MODIFIER_NONE); options->add_options() - ("options,o", po::value(), "mapping options") - ("read-only", po::bool_switch(), "mount read-only"); + ("options,o", po::value(), "map options") + ("read-only", po::bool_switch(), "map read-only"); } int execute_map(const po::variables_map &vm) {