]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tools/rados: improve the usage message of {get,set}omapaheader 42500/head
authorwangyingbin <ybwang0211@163.com>
Tue, 27 Jul 2021 06:37:12 +0000 (14:37 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 27 Jul 2021 12:06:59 +0000 (20:06 +0800)
Signed-off-by: wangyingbin <ybwang0211@163.com>
src/tools/rados/rados.cc

index 91500b46fbd55e62d93f131476d6dda7d700bb15..79aa7cc634f1bd04e5cf101375b6d714d742d7b1 100644 (file)
@@ -117,10 +117,10 @@ void usage(ostream& out)
 "   getomapval <obj-name> <key> [file] show the value for the specified key\n"
 "                                    in the object's object map\n"
 "   setomapval <obj-name> <key> <val | --input-file file>\n"
-"   rmomapkey <obj-name> <key>\n"
+"   rmomapkey <obj-name> <key>       Remove key from the object map of <obj-name>\n"
 "   clearomap <obj-name> [obj-name2 obj-name3...] clear all the omap keys for the specified objects\n"
-"   getomapheader <obj-name> [file]\n"
-"   setomapheader <obj-name> <val>\n"
+"   getomapheader <obj-name> [file]  Dump the hexadecimal value of the object map header of <obj-name>\n"
+"   setomapheader <obj-name> <val>   Set the value of the object map header of <obj-name>\n"
 "   watch <obj-name>                 add watcher on this object\n"
 "   notify <obj-name> <message>      notify watcher of this object with message\n"
 "   listwatchers <obj-name>          list the watchers of this object\n"