From: Rodrigo Severo Date: Fri, 22 May 2020 12:31:58 +0000 (-0300) Subject: rados: including GENERIC OPTIONS section in rados help message X-Git-Tag: v16.1.0~1624^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=fe3ce06dc82d00fda7ec9f891e2fe0ecf6f34aa3;p=ceph.git rados: including GENERIC OPTIONS section in rados help message 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 --- diff --git a/src/tools/rados/rados.cc b/src/tools/rados/rados.cc index ea02a3a40ef..a44f17dd484 100644 --- a/src/tools/rados/rados.cc +++ b/src/tools/rados/rados.cc @@ -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 {