diff options
-rw-r--r-- | src/tools/rbd/Shell.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/rbd/Shell.cc b/src/tools/rbd/Shell.cc index 15080f372b0..b3d33e9c81f 100644 --- a/src/tools/rbd/Shell.cc +++ b/src/tools/rbd/Shell.cc @@ -126,7 +126,7 @@ void print_deprecated_warning(po::option_description option, std::string descrip auto pos = description.find_first_of(":"); if (pos != std::string::npos) { std::string param = description.substr(pos + 1, description.size() - pos - 2); - std::cout << "rbd: " << option.format_name() << " is deprecated, use --" + std::cerr << "rbd: " << option.format_name() << " is deprecated, use --" << param << std::endl; } } |