| 61 | |
| 62 | #ifdef DEBUG |
| 63 | static void PrintCmdLine(int argc, const TCHAR** argv, cDebug d) |
| 64 | { |
| 65 | TSTRING str; |
| 66 | d.TraceDebug("Testing command line:\n"); |
| 67 | for (int i = 0; i < argc; i++) |
| 68 | { |
| 69 | str += argv[i]; |
| 70 | str += _T(" "); |
| 71 | } |
| 72 | d.TraceDebug(_T(">>>%s\n"), str.c_str()); |
| 73 | } |
| 74 | #endif |
| 75 | |
| 76 | static void test_parse(cCmdLineParser& parser, const int argc, const TCHAR** argv, bool should_throw) |