1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab
4 #include "tools/rbd/Shell.h"
5 #include "include/int_types.h"
6 #include "common/ceph_argparse.h"
7 #include "global/global_init.h"
10 int main(int argc, const char **argv)
12 std::vector<const char*> args;
13 argv_to_vec(argc, argv, args);
16 auto cct = global_init(NULL, args, CEPH_ENTITY_TYPE_CLIENT,
17 CODE_ENVIRONMENT_UTILITY, 0);
20 return shell.execute(args);