]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-conf: added --show-config-value to ceph-conf usage 29981/head
authorJames McClune <falcon78921@users.noreply.github.com>
Thu, 29 Aug 2019 00:30:49 +0000 (20:30 -0400)
committerJames McClune <falcon78921@users.noreply.github.com>
Thu, 5 Sep 2019 02:29:08 +0000 (22:29 -0400)
--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 <jmcclune@mcclunetechnologies.net>
src/test/cli/ceph-conf/help.t
src/tools/ceph_conf.cc

index d96c4a8ea9c475686fb4897548dcf081dc689595..8fa2152d3949e71db4ac56a581da8713a443037e 100644 (file)
@@ -18,6 +18,9 @@
                                     can be opened in the resulted comma
                                     delimited search list.
     -D|--dump-all                   dump all variables.
+    --show-config-value <key>       Print the corresponding ceph.conf value
+                                    that matches the specified key. Also searches
+                                    global defaults.
   
   FLAGS
     --name name                     Set type.id
index 48511e5c142236cfd2bb6ac1b050dd9556467c96..a86d436ae9aef2227b364efe6900f65fbf124a30 100644 (file)
@@ -45,6 +45,9 @@ ACTIONS
                                   can be opened in the resulted comma
                                   delimited search list.
   -D|--dump-all                   dump all variables.
+  --show-config-value <key>       Print the corresponding ceph.conf value
+                                  that matches the specified key. Also searches
+                                  global defaults.
 
 FLAGS
   --name name                     Set type.id