Fix typo (Flag was with a Cmd postfix)
This commit is contained in:
parent
7a68de16ba
commit
7040fb7a0b
4
main.go
4
main.go
@ -460,8 +460,8 @@ func main() {
|
||||
kcfg := kcfgFlag.Envar("OUT_OF_TREE_KCFG").Required().ExistingFile()
|
||||
|
||||
pewCommand := app.Command("pew", "Build, run and test module/exploit")
|
||||
pewKernelCmd := pewCommand.Flag("kernel", "Override kernel regex")
|
||||
pewKernel := pewKernelCmd.String()
|
||||
pewKernelFlag := pewCommand.Flag("kernel", "Override kernel regex")
|
||||
pewKernel := pewKernelFlag.String()
|
||||
|
||||
var err error
|
||||
switch kingpin.MustParse(app.Parse(os.Args[1:])) {
|
||||
|
Loading…
Reference in New Issue
Block a user