]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rados: including GENERIC OPTIONS section in rados help message
authorRodrigo Severo <rodrigo@fabricadeideias.com>
Fri, 22 May 2020 12:31:58 +0000 (09:31 -0300)
committerRodrigo Severo <rodrigo@fabricadeideias.com>
Fri, 22 May 2020 12:31:58 +0000 (09:31 -0300)
rados help message lacks info about the generic options it supports.

This patch creates the GENERIC OPTIONS section in rados help message
using the generic_client_usage() function.

Signed-off-by: Rodrigo Severo <rodrigo@fabricadeideias.com>
src/tools/rados/rados.cc

index ea02a3a40ef3798b8addef3e0b43e2b473212bc4..a44f17dd484fde544f11c63369b50b6d67bde5ae 100644 (file)
@@ -243,7 +243,10 @@ void usage(ostream& out)
 "   --with-clones                    include clones when doing flush or evict\n"
 "\n"
 "OMAP OPTIONS:\n"
-"    --omap-key-file file            read the omap key from a file\n";
+"    --omap-key-file file            read the omap key from a file\n"
+"\n"
+"GENERIC OPTIONS:\n";
+  generic_client_usage();
 }
 
 namespace detail {