Project

General

Profile

Actions

Feature #3074

closed

radosgw needs --help support

Added by Anonymous over 11 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

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

Actions #1

Updated by Ian Colle about 11 years ago

  • Subject changed from doc: radosgw -d/-f options not discoverable enough to radosgw needs --help support
Actions #2

Updated by Sage Weil about 11 years ago

  • Status changed from New to 12
Actions #3

Updated by Ian Colle about 11 years ago

  • Tracker changed from Bug to Feature
Actions #4

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?

Actions #5

Updated by Christophe Courtaut almost 11 years ago

This issue should be closed.

Actions #6

Updated by Yehuda Sadeh almost 11 years ago

  • Status changed from 12 to Resolved
Actions

Also available in: Atom PDF