MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / CliErrorExpectedOpt

Function CliErrorExpectedOpt

Source/Main.cpp:107–112  ·  view source on GitHub ↗

Prints an error for arguments that expected an argument but were not given one

Source from the content-addressed store, hash-verified

105
106 // Prints an error for arguments that expected an argument but were not given one
107 void CliErrorExpectedOpt(String argument)
108 {
109 std::cout << "Error: value is required for '" << argument << "' but none was supplied"
110 << "\n\nFor more information, try '--help'"
111 << std::endl;
112 }
113
114 void shutdown() override
115 {

Callers 1

initialiseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected