@@ -50,12 +50,21 @@ FLAGS\n\
If there is no action given, the action will default to --lookup.\n\
\n\
EXAMPLES\n\
-$ cconf --name client.cconf -c /etc/ceph/ceph.conf -t mon -i 0 'mon addr'\n\
-Find out if there is a 'mon addr' defined in /etc/ceph/ceph.conf\n\
+$ cconf 'auth supported'\n\
+Find out which authorization is used.\n\
+\n\
+$ cconf -n osd.0 'osd data'\n\
+Get the osd data directory for osd.0\n\
\n\
$ cconf -l mon\n\
List sections beginning with 'mon'.\n\
\n\
+$ cconf -l mon|while read s; do cconf -s $s 'mon addr'; done\n\
+Get all 'mon addr' values out of the configuration.\n\
+\n\
+$ cconf -c foo.conf 'keyring'\n\
+Read the 'keyring' value from a non-default configuration file.\n\
+\n\
RETURN CODE\n\
Return code will be 0 on success; error code otherwise.\n\
";
Signed-off-by: Wido den Hollander <wido@widodh.nl> --- src/cconf.cc | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-)