From 90d0f0d24f19fd5646d5b1726d34d3ac70e51069 Mon Sep 17 00:00:00 2001 From: Jianpeng Ma Date: Fri, 6 Feb 2015 15:19:46 +0800 Subject: [PATCH] rados: add 'watch/notify' in rados --help command. Signed-off-by: Jianpeng Ma --- src/tools/rados/rados.cc | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/tools/rados/rados.cc b/src/tools/rados/rados.cc index e9935829a779..94597dd1a61b 100644 --- a/src/tools/rados/rados.cc +++ b/src/tools/rados/rados.cc @@ -67,6 +67,11 @@ void usage(ostream& out) " ls list objects in pool\n\n" " chown 123 change the pool owner to auid 123\n" "\n" +"POOL SNAP COMMANDS\n" +" lssnap list snaps\n" +" mksnap create snap \n" +" rmsnap remove snap \n" +"\n" "OBJECT COMMANDS\n" " get [outfile] fetch object\n" " put [infile] write object\n" @@ -81,9 +86,6 @@ void usage(ostream& out) " rmxattr attr\n" " stat objname stat the named object\n" " mapext \n" -" lssnap list snaps\n" -" mksnap create snap \n" -" rmsnap remove snap \n" " rollback roll back object to snap \n" "\n" " listsnaps list the snapshots of this object\n" @@ -104,6 +106,8 @@ void usage(ostream& out) " getomapheader [file]\n" " setomapheader \n" " tmap-to-omap convert tmap keys/values to omap\n" +" watch add watcher on this object\n" +" notify notify wather of this object with message\n" " listwatchers list the watchers of this object\n" " set-alloc-hint \n" " set allocation hint for an object\n" -- 2.47.3