All of lore.kernel.org
 help / color / mirror / Atom feed
* radosgw-admin: mildly confusing man page and usage message
@ 2012-06-11 21:35 Florian Haas
  2012-06-11 21:39 ` Yehuda Sadeh
  0 siblings, 1 reply; 3+ messages in thread
From: Florian Haas @ 2012-06-11 21:35 UTC (permalink / raw)
  To: ceph-devel@vger.kernel.org

Hi,

just noticed that radosgw-admin comes with a bit of confusing content in
its man page and usage message:

EXAMPLES
       Generate a new user:

       $ radosgw-admin user gen --display-name="johnny rotten"
--email=johnny@rotten.com

As far as I remember "user gen" is gone, and it's now "user create".
However:

radosgw-admin user create --display-name="test" --email=test@demo
user_id was not specified, aborting

... is followed by a usage message that doesn't mention user_id anywhere
(the option string is --uid). So conceivably the example could also use
a mention of --uid.

Also, is there a way to retrieve the "next available" user_id or just
tell radosgw-admin to use max(user_id)+1?

If one of the Ceph guys could provide a quick comment on this, I can
send a patch to the man page RST. Thanks.

Cheers,
Florian

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-06-11 21:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-11 21:35 radosgw-admin: mildly confusing man page and usage message Florian Haas
2012-06-11 21:39 ` Yehuda Sadeh
2012-06-11 21:57   ` Florian Haas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.