| 86 | // clang-format on |
| 87 | |
| 88 | static void extendedHelp( |
| 89 | std::vector<Command>& subcommands, const std::string& command) |
| 90 | { |
| 91 | std::cout << "fluxengine: syntax: fluxengine " << command |
| 92 | << " <format> [<flags>...]\n" |
| 93 | "These subcommands are supported:\n"; |
| 94 | |
| 95 | for (Command& c : subcommands) |
| 96 | std::cout << " " << c.name << ": " << c.help << "\n"; |
| 97 | |
| 98 | exit(0); |
| 99 | } |
| 100 | |
| 101 | static int mainExtended(std::vector<Command>& subcommands, |
| 102 | const std::string& command, |