| 61 | } |
| 62 | |
| 63 | void do_command(const lyra::group & g) |
| 64 | { |
| 65 | if (show_help) |
| 66 | std::cout << g; // <5> |
| 67 | else |
| 68 | { |
| 69 | std::cout << "RUN: " |
| 70 | << "verbose=" << (verbose ? "true" : "false"); |
| 71 | for (auto c : command) std::cout << " " << c; |
| 72 | std::cout << "\n"; |
| 73 | } |
| 74 | } |
| 75 | }; |
| 76 | |
| 77 | // Kill a named process, sub-command data. |