MCPcopy
hub / github.com/perkeep/perkeep / UsageError

TypeAlias UsageError

pkg/cmdmain/cmdmain.go:62–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60var ErrUsage = UsageError("invalid command")
61
62type UsageError string
63
64func (ue UsageError) Error() string {
65 return "Usage error: " + string(ue)

Callers 15

checkFlagsMethod · 0.92
RunCommandMethod · 0.92
RunCommandMethod · 0.92
RunCommandMethod · 0.92
RunCommandMethod · 0.92
RunCommandMethod · 0.92
RunCommandMethod · 0.92
RunCommandMethod · 0.92
RunCommandMethod · 0.92
RunCommandMethod · 0.92
RunCommandMethod · 0.92
RunCommandMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected