]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rbd: fix usage
authorYehuda Sadeh <yehuda@hq.newdream.net>
Thu, 15 Jul 2010 21:50:33 +0000 (14:50 -0700)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Thu, 15 Jul 2010 21:50:33 +0000 (14:50 -0700)
src/rbd.cc

index 6c1c3031a878284016bc80a9cd1a3c59ee763201..71927f23241c57ba0e885adeca85e14e50323cc1 100644 (file)
@@ -43,7 +43,7 @@ static string dir_info_oid = RBD_INFO;
 
 void usage()
 {
-  cout << "usage: rbdtool [-n <auth user>] [OPTIONS] <cmd> ...\n"
+  cout << "usage: rbd [-n <auth user>] [OPTIONS] <cmd> ...\n"
        << "where 'pool' is a rados pool name (default is 'rbd') and 'cmd' is one of:\n"
        << "  <ls | list> [pool-name]                   list rbd images\n"
        << "  info [image-name]                         show information about image size,\n"
@@ -920,7 +920,7 @@ int main(int argc, const char **argv)
   int opt_cmd = OPT_NO_CMD;
 
   common_set_defaults(false);
-  common_init(args, "rbdtool", true);
+  common_init(args, "rbd", true);
 
   const char *poolname = NULL;
   uint64_t size = 0;