* usage message of rados is wrong
@ 2010-08-04 8:48 Takuya ASADA
0 siblings, 0 replies; only message in thread
From: Takuya ASADA @ 2010-08-04 8:48 UTC (permalink / raw)
To: ceph-devel
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);
}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-08-04 8:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-04 8:48 usage message of rados is wrong Takuya ASADA
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).