usage message of rados is wrong

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I think it better to fix usage message like following patch, unless
you'll support -i and -o, that's currently not available on the
code(but on the message).

syuu

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
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux