It was renamed during development, get rid of the leftovers.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
and providing a JSON-encoded ``source-spec`` to describe how to access
the source image data. This ``source-spec`` can either be passed
directly via the `--source-spec` optional, or via a file or STDIN via the
-`--source-spec-file` optional::
+`--source-spec-path` optional::
$ rbd migration prepare --import-only --source-spec "<JSON>" migration_target
std::string source_spec;
if (vm.count("source-spec") && vm.count("source-spec-path")) {
- std::cerr << "rbd: cannot specify both source-image-spec and "
- << "source-spec/source-spec-file" << std::endl;
+ std::cerr << "rbd: cannot specify both source-spec and source-spec-path"
+ << std::endl;
return -EINVAL;
} else if (vm.count("source-spec-path")) {
std::string source_spec_path = vm["source-spec-path"].as<std::string>();