@Override
  protected void processOptions(CommandLine cmd) {
    if (cmd.getArgList().size() != 1) {
      throw new IllegalArgumentException("Please specify the file to dump");
    }
    file = cmd.getArgList().get(0);
  }
A tool to dump the procedures in the WAL files.
<p/>
The different between this and {@link WALPrettyPrinter} is that, this class will decode the
procedure in the WALEdit for better debugging. You are free to use {@link WALPrettyPrinter} to
dump the same file as well.
hbase-server/src/main/java/org/apache/hadoop/hbase/procedure2/store/region/WALProcedurePrettyPrinter.java