MCPcopy
hub / github.com/spf13/cobra / CompError

Function CompError

completions.go:981–984  ·  view source on GitHub ↗

CompError prints the specified completion message to stderr.

(msg string)

Source from the content-addressed store, hash-verified

979
980// CompError prints the specified completion message to stderr.
981func CompError(msg string) {
982 msg = fmt.Sprintf("[Error] %s", msg)
983 CompDebug(msg, true)
984}
985
986// CompErrorln prints the specified completion message to stderr with a newline at the end.
987func CompErrorln(msg string) {

Callers 1

CompErrorlnFunction · 0.85

Calls 1

CompDebugFunction · 0.85

Tested by

no test coverage detected