Skip to content

Commit

Permalink
Changed version flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Frase committed Oct 24, 2017
1 parent ed7f042 commit 7124680
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,17 @@ archive:
- goos: windows
format: zip

brew:
github:
owner: afrase
name: mysqldumpsplit-homebrew-tap
commit_author:
name: afrase
email: afrase91@gmail.com
description: "Split a mysqldump into separate files for each table."
test: |
system "#{bin}/mysqldumpsplit -version"
snapshot:
name_template: SNAPSHOT-{{ .Commit }}

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func parseFlags() *config {
"Combine all tables into a single file, deletes individual table files")
flag.StringVar(&conf.CombineFilePath, "combineFile", "dumpfile.sql",
"The path to output a single SQL file\n\tOnly used if combine flag is set")
flag.BoolVar(&conf.Version, "v", false, "Display the version and exit")
flag.BoolVar(&conf.Version, "version", false, "Display the version and exit")

flag.Parse()
return conf
Expand Down

0 comments on commit 7124680

Please sign in to comment.