Fix composite literal uses unkeyed fields
This commit is contained in:
parent
667b1cf288
commit
4275e6740b
@ -45,7 +45,7 @@ func main() {
|
||||
fs := cmd.Flags
|
||||
fs.Parse(os.Args[2:])
|
||||
|
||||
cmdArgs.Flags = lumecmd.Flags{fs}
|
||||
cmdArgs.Flags = lumecmd.Flags{FlagSet: fs}
|
||||
exitCode, err := cmd.Func(cmdArgs)
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "fatal: %s\n", err)
|
||||
|
Loading…
Reference in New Issue
Block a user