MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / parseHelp

Function parseHelp

samples/common/sampleOptions.cpp:1356–1363  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1354}
1355
1356bool parseHelp(Arguments& arguments)
1357{
1358 bool helpLong{false};
1359 bool helpShort{false};
1360 getAndDelOption(arguments, "--help", helpLong);
1361 getAndDelOption(arguments, "-h", helpShort);
1362 return helpLong || helpShort;
1363}
1364
1365void AllOptions::parse(Arguments& arguments)
1366{

Callers 2

parseMethod · 0.85
mainFunction · 0.85

Calls 1

getAndDelOptionFunction · 0.85

Tested by

no test coverage detected