From: James McClune Date: Thu, 29 Aug 2019 00:30:49 +0000 (-0400) Subject: ceph-conf: added --show-config-value to ceph-conf usage X-Git-Tag: v15.1.0~1669^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=2627c3527ab9197f404d55a0398a9d6414f2ac2f;p=ceph-ci.git 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 --- diff --git a/src/test/cli/ceph-conf/help.t b/src/test/cli/ceph-conf/help.t index d96c4a8ea9c..8fa2152d394 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 48511e5c142..a86d436ae9a 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