cephfs-journal-tool: disambiguate usage of all keyword (in tool help).

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>
This commit is contained in:
Manish M Yathnalli 2023-06-21 13:29:41 +05:30 committed by Manish M Yathnalli
parent af70f82f1e
commit 52c033f85e

View 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"