mirror of
https://github.com/ceph/ceph
synced 2025-02-24 11:37:37 +00:00
common/config: add --mon-config option (opposite of --no-mon-config)
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
3c2b30e4c5
commit
2bc34bb882
@ -562,6 +562,9 @@ int md_config_t::parse_argv(std::vector<const char*>& args, int level)
|
||||
else if (ceph_argparse_flag(args, i, "--no-mon-config", (char*)NULL)) {
|
||||
no_mon_config = true;
|
||||
}
|
||||
else if (ceph_argparse_flag(args, i, "--mon-config", (char*)NULL)) {
|
||||
no_mon_config = false;
|
||||
}
|
||||
else if (ceph_argparse_flag(args, i, "--foreground", "-f", (char*)NULL)) {
|
||||
set_val_or_die("daemonize", "false");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user