Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/basecamp/hey-cli
/ cleanUseLine
Function
cleanUseLine
internal/cmd/args.go:46–48 ·
view source on GitHub ↗
(useLine string)
Source
from the content-addressed store, hash-verified
44
}
45
46
func
cleanUseLine(useLine string) string {
47
return
strings.TrimSpace(strings.TrimSuffix(useLine,
" [flags]"
))
48
}
Callers
3
TestCleanUseLineStripsFlagsSuffix
Function · 0.85
usageExactOneArg
Function · 0.85
usageMinOneArg
Function · 0.85
Calls
no outgoing calls
Tested by
1
TestCleanUseLineStripsFlagsSuffix
Function · 0.68