]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rados: change command line arg
authorSage Weil <sage@newdream.net>
Thu, 6 Aug 2009 23:16:16 +0000 (16:16 -0700)
committerSage Weil <sage@newdream.net>
Mon, 10 Aug 2009 20:14:30 +0000 (13:14 -0700)
src/rados.cc

index e5100761163a524fe54b9a5b029a098158b27d52..94c2fde3b3f09882563dbee7d8a7b1191cb322ea 100644 (file)
@@ -47,7 +47,7 @@ void usage()
   cerr << "   mksnap foo  -- create snap 'foo'\n";
   cerr << "   rmsnap foo  -- remove snap 'foo'\n\n";
 
-  cerr << "   bench <seconds> [-c concurrentwrites] [-b writesize] [verify] [sync]\n";
+  cerr << "   bench <seconds> [-t concurrentwrites] [-b writesize] [verify] [sync]\n";
   cerr << "              default is 16 concurrent IOs and 1 MB writes size\n\n";
 
   cerr << "Options:\n";
@@ -249,7 +249,7 @@ int main(int argc, const char **argv)
       CONF_SAFE_SET_ARG_VAL(&snapname, OPT_STR);
     } else if (CONF_ARG_EQ("help", 'h')) {
       usage();
-    } else if (CONF_ARG_EQ("concurrent-ios", 'c')) {
+    } else if (CONF_ARG_EQ("concurrent-ios", 't')) {
       CONF_SAFE_SET_ARG_VAL(&concurrent_ios, OPT_INT);
     } else if (CONF_ARG_EQ("block-size", 'b')) {
       CONF_SAFE_SET_ARG_VAL(&write_size, OPT_INT);