| 22 | )"; |
| 23 | |
| 24 | int main(int argc, const char** argv) |
| 25 | { |
| 26 | std::map<std::string, docopt::value> args = docopt::docopt(USAGE, |
| 27 | { argv + 1, argv + argc }, |
| 28 | true, // show help if requested |
| 29 | "Naval Fate 2.0"); // version string |
| 30 | |
| 31 | for(auto const& arg : args) { |
| 32 | std::cout << arg.first << ": " << arg.second << std::endl; |
| 33 | } |
| 34 | |
| 35 | return 0; |
| 36 | } |
nothing calls this directly
no outgoing calls
no test coverage detected