From ba8f9ee791d55c4cf25ad751213ea6ba770b7434 Mon Sep 17 00:00:00 2001 From: Ilya Dryomov Date: Fri, 7 Oct 2016 11:14:16 +0200 Subject: [PATCH] rbd: fix up terminology in help texts Signed-off-by: Ilya Dryomov --- src/test/cli/rbd/help.t | 4 ++-- src/tools/rbd/action/Kernel.cc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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) { -- 2.39.5