Skip to content

Commit

Permalink
Fix flag names
Browse files Browse the repository at this point in the history
  • Loading branch information
marwan-at-work committed Nov 26, 2022
1 parent 1899d7b commit 8fe5382
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,11 @@ func runFile(ctx context.Context) error {

func runCLI(c *cli.Context) error {
cfg := config{
GoPaths: c.StringSlice("go-dir"),
NonGoPaths: c.StringSlice("nongo-dir"),
GoPaths: c.StringSlice("go"),
NonGoPaths: c.StringSlice("nongo"),
BuildFlags: c.StringSlice("build-flag"),
RuntimeArgs: c.Args().Slice(),
Vendor: c.Bool("include-vendor"),
Vendor: c.Bool("vendor"),
PrintFiles: c.Bool("print-files"),
}
return runWatcher(c.Context, cfg)
Expand Down

0 comments on commit 8fe5382

Please sign in to comment.