]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc:Added the explanation of the 'listxattr <obj-name>' and 'getxattr <obj-name>... 41567/head
authorwangyingbin <ybwang0211@163.com>
Thu, 27 May 2021 06:18:55 +0000 (14:18 +0800)
committerwangyingbin <ybwang0211@163.com>
Thu, 27 May 2021 06:18:55 +0000 (14:18 +0800)
Added the explanation of the listxattr <obj-name> and getxattr <obj-name> attr commands

Signed-off-by: wangyingbin <ybwang0211@163.com>
src/tools/rados/rados.cc

index cbdcc228693747806806a064520dd016e1acb108..91500b46fbd55e62d93f131476d6dda7d700bb15 100644 (file)
@@ -93,8 +93,8 @@ void usage(ostream& out)
 "   create <obj-name>                create object\n"
 "   rm <obj-name> ...[--force-full]  [force no matter full or not]remove object(s)\n"
 "   cp <obj-name> [target-obj]       copy object\n"
-"   listxattr <obj-name>\n"
-"   getxattr <obj-name> attr\n"
+"   listxattr <obj-name>             list attrs of this object\n"
+"   getxattr <obj-name> <attr>       get the <attr> attribute of this object\n"
 "   setxattr <obj-name> attr val\n"
 "   rmxattr <obj-name> attr\n"
 "   stat <obj-name>                  stat the named object\n"