Skip to content

Commit

Permalink
fix(daemon): parse flags
Browse files Browse the repository at this point in the history
  • Loading branch information
juligasa committed Sep 21, 2023
1 parent ae42091 commit 3538df3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/cmd/mintter-site/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Flags:

cfg := sites.DefaultConfig()
cfg.BindFlags(fs)
if err := ff.Parse(fs, os.Args[1:], ff.WithEnvVarPrefix(envVarPrefix)); err != nil {
if err := ff.Parse(fs, os.Args[2:], ff.WithEnvVarPrefix(envVarPrefix)); err != nil {
return err
}

Expand Down

0 comments on commit 3538df3

Please sign in to comment.