usage message of rados is wrong
diff mbox

Message ID AANLkTik-shCam-OsLqi0RnxB7RgPCoPU=8-5mJuMDftY@mail.gmail.com
State New, archived
Headers show

Commit Message

Takuya ASADA Aug. 4, 2010, 8:48 a.m. UTC
None

Patch
diff mbox

diff --git a/src/rados.cc b/src/rados.cc
index 268f14f..57deec6 100644
--- a/src/rados.cc
+++ b/src/rados.cc
@@ -44,8 +44,8 @@  void usage()
   cerr << "   df          -- show per-pool and total usage\n\n";

   cerr << "Pool commands:\n";
-  cerr << "   get objname -- fetch object\n";
-  cerr << "   put objname -- write object\n";
+  cerr << "   get objname [outfile] -- fetch object\n";
+  cerr << "   put objname [infile] -- write object\n";
   cerr << "   rm objname  -- remove object\n";
   cerr << "   ls          -- list objects in pool\n\n";
   cerr << "   chown 123   -- change the pool owner to auid 123\n";
@@ -69,9 +69,6 @@  void usage()
   cerr << "   -s name\n";
   cerr << "   --snap name\n";
   cerr << "        select given snap name for (read) IO\n";
-  cerr << "   -i infile\n";
-  cerr << "   -o outfile\n";
-  cerr << "        specify input or output file (for certain commands)\n";
   exit(1);
 }
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in