From 808e4a881ab03b8d42996ed4ed2bdd3618867942 Mon Sep 17 00:00:00 2001 From: Jason Dillaman Date: Thu, 9 Apr 2015 14:59:59 -0400 Subject: [PATCH] rbd: deprecate --new-format command-line option Image formats can be explicitly chosen via the --image-format X command-line option. Signed-off-by: Jason Dillaman --- src/rbd.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rbd.cc b/src/rbd.cc index 5b83ef924d158..4d92d2c905baa 100644 --- a/src/rbd.cc +++ b/src/rbd.cc @@ -2758,6 +2758,7 @@ int main(int argc, const char **argv) usage(); return 0; } else if (ceph_argparse_flag(args, i, "--new-format", (char*)NULL)) { + cerr << "rbd: --new-format is deprecated" << std::endl; format = 2; format_specified = true; } else if (ceph_argparse_witharg(args, i, &val, "--image-format", -- 2.39.5