Skip to content

Commit

Permalink
Clear flags
Browse files Browse the repository at this point in the history
This prevents a conflict with vitessio/vitess
  • Loading branch information
mpchadwick committed Jul 17, 2022
1 parent 3d81e77 commit 3cd3938
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ func selfUpdate() error {
}

func main() {
flag.CommandLine = flag.NewFlagSet(os.Args[0], flag.ExitOnError)

requested := flag.String("config", "", "Configuration to use. magento2 is included out-of-box. Alternately, supply path to file")
update := flag.Bool("update", false, "Auto update dbanon to the newest version")
ver := flag.Bool("version", false, "Get current version")
Expand Down

0 comments on commit 3cd3938

Please sign in to comment.