From 2627c3527ab9197f404d55a0398a9d6414f2ac2f Mon Sep 17 00:00:00 2001 From: James McClune Date: Wed, 28 Aug 2019 20:30:49 -0400 Subject: [PATCH] ceph-conf: added --show-config-value to ceph-conf usage --show-config-value is another way to lookup ceph.conf values. Users may want to utilize --show-config-value instead of --lookup because --show-config-value also shows global defaults. Signed-off-by: James McClune --- src/test/cli/ceph-conf/help.t | 3 +++ src/tools/ceph_conf.cc | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/test/cli/ceph-conf/help.t b/src/test/cli/ceph-conf/help.t index d96c4a8ea9c47..8fa2152d3949e 100644 --- a/src/test/cli/ceph-conf/help.t +++ b/src/test/cli/ceph-conf/help.t @@ -18,6 +18,9 @@ can be opened in the resulted comma delimited search list. -D|--dump-all dump all variables. + --show-config-value Print the corresponding ceph.conf value + that matches the specified key. Also searches + global defaults. FLAGS --name name Set type.id diff --git a/src/tools/ceph_conf.cc b/src/tools/ceph_conf.cc index 48511e5c14223..a86d436ae9aef 100644 --- a/src/tools/ceph_conf.cc +++ b/src/tools/ceph_conf.cc @@ -45,6 +45,9 @@ ACTIONS can be opened in the resulted comma delimited search list. -D|--dump-all dump all variables. + --show-config-value Print the corresponding ceph.conf value + that matches the specified key. Also searches + global defaults. FLAGS --name name Set type.id -- 2.39.5