std::cout << "Usage: \n"
<< " cephfs-journal-tool [options] journal [inspect|import|export|reset]\n"
<< " cephfs-journal-tool [options] header <get|set <field> <value>\n"
- << " cephfs-journal-tool [options] event <selector> <effect> <output>\n"
- << " <selector>: [--by-type=<metablob|client|mds|...?>|--by-inode=<inode>|--by-path=<path>|by-tree=<path>|by-range=<N>..<M>|by-dirfrag-name=<dirfrag id>,<name>]\n"
- << " <effect>: [get|splice]\n"
- << " <output>: [summary|binary|json] [-o <path>] [--latest]\n"
+ << " cephfs-journal-tool [options] event <effect> <selector> <output>\n"
+ << " <selector>:\n"
+ << " --range=<start>..<end>\n"
+ << " --path=<substring>\n"
+ << " --inode=<integer>\n"
+ << " --type=<UPDATE|OPEN|SESSION...><\n"
+ << " --frag=<ino>.<frag> [--dname=<dentry string>]\n"
+ << " --client=<session id integer>\n"
+ << " <effect>: [get|apply|splice]\n"
+ << " <output>: [summary|binary|json] [--path <path>]\n"
<< "\n"
<< "Options:\n"
<< " --rank=<int> Journal rank (default 0)\n";