mirror of
https://github.com/ceph/ceph
synced 2024-12-15 07:56:12 +00:00
librados-config: remove unused old-style argparse
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
This commit is contained in:
parent
290da11e2f
commit
7f453881d9
@ -36,7 +36,6 @@ void usage_exit()
|
||||
int main(int argc, const char **argv)
|
||||
{
|
||||
vector<const char*> args;
|
||||
DEFINE_CONF_VARS(usage_exit);
|
||||
argv_to_vec(argc, argv, args);
|
||||
env_to_vec(args);
|
||||
|
||||
@ -60,9 +59,6 @@ int main(int argc, const char **argv)
|
||||
global_init(args, CEPH_ENTITY_TYPE_CLIENT, CODE_ENVIRONMENT_UTILITY, 0);
|
||||
common_init_finish(g_ceph_context);
|
||||
|
||||
FOR_EACH_ARG(args) {
|
||||
usage_exit();
|
||||
}
|
||||
if (!opt_version && !opt_vernum)
|
||||
usage_exit();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user