Feature #3074
closedradosgw needs --help support
0%
Description
User reports he only discovered radosgw supports -d via radosgw-admin (which shouldn't even have that option).
Needs to be clearer. It seems radosgw has no --help support at all, not sure if that's a FastCGI limitation.
http://thread.gmane.org/gmane.comp.file-systems.ceph.devel/8929
Updated by Ian Colle about 11 years ago
- Subject changed from doc: radosgw -d/-f options not discoverable enough to radosgw needs --help support
Updated by Christophe Courtaut almost 11 years ago
The -d option of radosgw seems to come from global_init function, which is located under src/global/global_init.cc, and this one calls parse_argv here https://github.com/ceph/ceph/blob/master/src/global/global_init.cc?source=cc#L102, which code relies here https://github.com/ceph/ceph/blob/master/src/common/config.cc#L353, and it is this last function that seems to handle the -d option (and other options) https://github.com/ceph/ceph/blob/master/src/common/config.cc#L399 .
This global_init doesn't seem to be used only by the radosgw, so does every binary using this generic function needs to have his proper help, or should we have a generic usage for it?