Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/TNN
/ ParseAndCheckCommandLine
Function
ParseAndCheckCommandLine
test/unit_test/unit_test.cc:34–42 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
32
}
33
34
bool ParseAndCheckCommandLine(int argc, char *argv[]) {
35
gflags::ParseCommandLineNonHelpFlags(&argc, &argv, true);
36
if (FLAGS_h) {
37
ShowUsage();
38
return false;
39
}
40
41
return true;
42
}
43
44
} // namespace TNN_NS
45
Callers
1
main
Function · 0.70
Calls
1
ShowUsage
Function · 0.70
Tested by
no test coverage detected