rbd: fix up terminology in help texts

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
This commit is contained in:
Ilya Dryomov 2016-10-07 11:14:16 +02:00
parent 61ffc1c553
commit ba8f9ee791
2 changed files with 4 additions and 4 deletions

View File

@ -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 <path>] [--no-progress]

View File

@ -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<std::string>(), "mapping options")
("read-only", po::bool_switch(), "mount read-only");
("options,o", po::value<std::string>(), "map options")
("read-only", po::bool_switch(), "map read-only");
}
int execute_map(const po::variables_map &vm) {