From 80612a566e0a6431b9b13bcde2838e44457924a5 Mon Sep 17 00:00:00 2001 From: John Spray Date: Sun, 11 Jun 2017 08:22:20 -0400 Subject: [PATCH] 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 --- src/tools/cephfs/JournalTool.cc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/tools/cephfs/JournalTool.cc b/src/tools/cephfs/JournalTool.cc index 0f3b15752501..bc748ae43a30 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(); } -- 2.47.3