From: John Spray Date: Sun, 11 Jun 2017 12:22:20 +0000 (-0400) Subject: tools/cephfs: fix cephfs-journal-tool --help X-Git-Tag: v12.1.0~77^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F15614%2Fhead;p=ceph.git tools/cephfs: fix cephfs-journal-tool --help The --alternate-pool option was in the wrong place. This format is not beautiful, but I think it's accurate in terms of where the option should sit to get parsed correctly? Signed-off-by: John Spray --- diff --git a/src/tools/cephfs/JournalTool.cc b/src/tools/cephfs/JournalTool.cc index 0f3b1575250..bc748ae43a3 100644 --- a/src/tools/cephfs/JournalTool.cc +++ b/src/tools/cephfs/JournalTool.cc @@ -49,22 +49,25 @@ void JournalTool::usage() << " export \n" << " reset [--force]\n" << " cephfs-journal-tool [options] header \n" - << " cephfs-journal-tool [options] event \n" + << " cephfs-journal-tool [options] event [special options]\n" << " :\n" << " --range=..\n" << " --path=\n" << " --inode=\n" << " --type=<\n" << " --frag=. [--dname=]\n" - << " --alternate-pool=pool-name\n" << " --client=\n" << " : [get|apply|recover_dentries|splice]\n" << " : [summary|list|binary|json] [--path ]\n" << "\n" - << "Options:\n" + << "General options:\n" << " --rank=filesystem:mds-rank Journal rank (required if multiple\n" << " file systems, default is rank 0 on\n" - << " the only filesystem otherwise.\n"; + << " the only filesystem otherwise.\n" + << "\n" + << "Special options\n" + << " --alternate-pool Alternative metadata pool to target\n" + << " when using recover_dentries.\n"; generic_client_usage(); }