]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/tools/cephfs/cephfs-journal-tool.cc
import quincy beta 17.1.0
[ceph.git] / ceph / src / tools / cephfs / cephfs-journal-tool.cc
index 290cb305ba5274d38f442ce5b27023eff9a85ca8..f95e7e2651264361922b98fae14f254849798f42 100644 (file)
 
 int main(int argc, const char **argv)
 {
-  vector<const char*> args;
-  argv_to_vec(argc, argv, args);
+  auto args = argv_to_vec(argc, argv);
   if (args.empty()) {
-    cerr << argv[0] << ": -h or --help for usage" << std::endl;
+    std::cerr << argv[0] << ": -h or --help for usage" << std::endl;
     exit(1);
   }
   if (ceph_argparse_need_usage(args)) {