MCPcopy Create free account
hub / github.com/ROCm/rocPRIM / disable_help

Method disable_help

benchmark/cmdparser.hpp:287–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285 }
286
287 void disable_help() {
288 for (auto command = _commands.begin(); command != _commands.end(); ++command) {
289 if ((*command)->name == "h" && (*command)->alternative == "--help") {
290 _commands.erase(command);
291 break;
292 }
293 }
294 }
295
296 template<typename T>
297 void set_default(bool is_required, const std::string& description = "") {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected