From 63631be5984ffea9d05fb0356c0e0aebea0f62df Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Mon, 11 Jan 2021 20:47:01 -0600 Subject: [PATCH] Fix composite literal uses unkeyed fields --- cmd/lume/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/lume/main.go b/cmd/lume/main.go index a653b10..fd0441e 100644 --- a/cmd/lume/main.go +++ b/cmd/lume/main.go @@ -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)