[PATCH 1/4] cconf: Update usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Wido den Hollander <wido@xxxxxxxxx>
---
 src/cconf.cc |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/src/cconf.cc b/src/cconf.cc
index 2de7899..d5a911d 100644
--- a/src/cconf.cc
+++ b/src/cconf.cc
@@ -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\
 ";
-- 
1.7.0.4

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux