MCPcopy Create free account
hub / github.com/Tripwire/tripwire-open-source / PrintCmdLine

Function PrintCmdLine

src/twtest/cmdlineparser_t.cpp:63–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61
62#ifdef DEBUG
63static 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
76static void test_parse(cCmdLineParser& parser, const int argc, const TCHAR** argv, bool should_throw)

Callers 1

test_parseFunction · 0.85

Calls 2

c_strMethod · 0.80
TraceDebugMethod · 0.60

Tested by 1

test_parseFunction · 0.68