MCPcopy Create free account
hub / github.com/Tencent/TAD_Sim / required

Method required

simcore/framework/src/cli/cli.hpp:4916–4919  ·  view source on GitHub ↗

Remove the error when extras are left over on the command line.

Source from the content-addressed store, hash-verified

4914
4915 /// Remove the error when extras are left over on the command line.
4916 App *required(bool require = true) {
4917 required_ = require;
4918 return this;
4919 }
4920
4921 /// Disable the subcommand or option group
4922 App *disabled(bool disable = true) {

Callers 5

copy_toMethod · 0.45
_add_flag_internalMethod · 0.45
set_configMethod · 0.45
ConfShowMethod · 0.45
ConfRmMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected