From: Jason Dillaman Date: Thu, 9 Apr 2015 18:59:59 +0000 (-0400) Subject: rbd: deprecate --new-format command-line option X-Git-Tag: v9.0.1~152^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=808e4a881ab03b8d42996ed4ed2bdd3618867942;p=ceph.git 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 --- diff --git a/src/rbd.cc b/src/rbd.cc index 5b83ef924d15..4d92d2c905ba 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",