Fix composite literal uses unkeyed fields

This commit is contained in:
Ryan Cavicchioni 2021-01-11 20:47:01 -06:00
parent 667b1cf288
commit 4275e6740b

View File

@ -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)