]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rbd: deprecate --new-format command-line option
authorJason Dillaman <dillaman@redhat.com>
Thu, 9 Apr 2015 18:59:59 +0000 (14:59 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 9 Apr 2015 19:07:41 +0000 (15:07 -0400)
Image formats can be explicitly chosen via the --image-format X
command-line option.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/rbd.cc

index 5b83ef924d158c58fd546712e99aeee9a04127e4..4d92d2c905baa7ae4b88a112e135b0e0ee10c88c 100644 (file)
@@ -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",