]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cephfs-journal-tool: disambiguate usage of all keyword (in tool help). 52149/head
authorManish M Yathnalli <manish.yathnalli@komprise.com>
Wed, 21 Jun 2023 07:59:41 +0000 (13:29 +0530)
committerManish M Yathnalli <myathnal@redhat.com>
Sun, 25 Jun 2023 14:12:57 +0000 (19:42 +0530)
        The fs:all for rank option description was confusing. It seemd
like the fs was optional, but it is mandatory. This change modifies the
help message to reflect the correct way to use all in the --rank option.

Fixes: https://tracker.ceph.com/issues/61753
Signed-off-by: Manish M Yathnalli <myathnal@redhat.com>
src/tools/cephfs/JournalTool.cc

index d972f8341f6682b8de71ac27ad58c8071c225255..6bca9bb08167b960111efe2b2f727cffef15f950 100644 (file)
@@ -62,7 +62,7 @@ void JournalTool::usage()
     << "    <output>: [summary|list|binary|json] [--path <path>]\n"
     << "\n"
     << "General options:\n"
-    << "  --rank=filesystem:mds-rank|all Journal rank (mandatory)\n"
+    << "  --rank=filesystem:{mds-rank|all} journal rank or \"all\" ranks (mandatory)\n"
     << "  --journal=<mdlog|purge_queue>  Journal type (purge_queue means\n"
     << "                                 this journal is used to queue for purge operation,\n"
     << "                                 default is mdlog, and only mdlog support event mode)\n"