Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/akamensky/argparse
/ Error
Method
Error
errors.go:8–10 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
6
}
7
8
func
(e subCommandError) Error() string {
9
return
"[sub]Command required"
10
}
11
12
func
newSubCommandError(cmd *Command) error {
13
return
subCommandError{cmd: cmd}
Callers
15
Flag
Method · 0.80
FlagCounter
Method · 0.80
String
Method · 0.80
Int
Method · 0.80
Float
Method · 0.80
File
Method · 0.80
StringList
Method · 0.80
IntList
Method · 0.80
FloatList
Method · 0.80
FileList
Method · 0.80
Selector
Method · 0.80
message2String
Function · 0.80
Calls
no outgoing calls
Tested by
15
TestInternalFunctionParse
Function · 0.64
TestInternalFunctionCheck
Function · 0.64
TestFlagSimple1
Function · 0.64
TestFlagSimple2
Function · 0.64
TestLongFlagEqualChar
Function · 0.64
TestShortFlagEqualChar
Function · 0.64
TestFlagMultiShorthandWithParam1
Function · 0.64
TestFlagMultiShorthandWithParamFail1
Function · 0.64
TestFlagMultiShorthand1
Function · 0.64
TestFlagCounterSimple1
Function · 0.64
TestFlagCounterSimple2
Function · 0.64
TestFlagCounterMultiShorthand1
Function · 0.64