draperlaboratory / fracture

an architecture-independent decompiler to LLVM IR
Other
385 stars 47 forks source link

TODO: Expand this to print descriptions of the commands. #22

Open skintigh opened 10 years ago

skintigh commented 10 years ago

./tools/dish/dish.cpp:205/

/// TODO: Expand this to print descriptions of the commands.
/// TODO: Expand to print help for subsections and all sections.
///
static void printHelp(std::vector<std::string> &CommandLine) {
  std::map<std::string, void (*)(std::vector<std::string> &)> Commands =
      CommandParser.getCmdMap();
  for (std::map<std::string, void (*)(std::vector<std::string> &)>::iterator
      CmdIt = Commands.begin(), CmdEnd = Commands.end(); CmdIt != CmdEnd;
      ++CmdIt) {
    if (CmdIt != Commands.begin())
      outs() << ",";