Skip to content

Commit 7124680

Browse files
author
Aaron Frase
committed
Changed version flag
1 parent ed7f042 commit 7124680

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.goreleaser.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,17 @@ archive:
3131
- goos: windows
3232
format: zip
3333

34+
brew:
35+
github:
36+
owner: afrase
37+
name: mysqldumpsplit-homebrew-tap
38+
commit_author:
39+
name: afrase
40+
email: afrase91@gmail.com
41+
description: "Split a mysqldump into separate files for each table."
42+
test: |
43+
system "#{bin}/mysqldumpsplit -version"
44+
3445
snapshot:
3546
name_template: SNAPSHOT-{{ .Commit }}
3647

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func parseFlags() *config {
3434
"Combine all tables into a single file, deletes individual table files")
3535
flag.StringVar(&conf.CombineFilePath, "combineFile", "dumpfile.sql",
3636
"The path to output a single SQL file\n\tOnly used if combine flag is set")
37-
flag.BoolVar(&conf.Version, "v", false, "Display the version and exit")
37+
flag.BoolVar(&conf.Version, "version", false, "Display the version and exit")
3838

3939
flag.Parse()
4040
return conf

0 commit comments

Comments
 (0)