Skip to content

Commit

Permalink
fix error from breaking change
Browse files Browse the repository at this point in the history
  • Loading branch information
vvakame committed Jul 21, 2018
1 parent 41147f6 commit 39f9dbf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ var packageName string
var modelPackageName string

func init() {
rootCmd.PersistentFlags().StringVar(&configFilename, "config", "", "the file to configuration to")
rootCmd.PersistentFlags().StringVarP(&configFilename, "config", "c", "", "the file to configuration to")
rootCmd.PersistentFlags().BoolVarP(&verbose, "verbose", "v", false, "show logs")

rootCmd.PersistentFlags().StringVar(&output, "out", "", "the file to write to")
Expand Down
2 changes: 1 addition & 1 deletion example/todo/todo.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:generate gorunpkg github.com/vektah/gqlgen -out generated.go
//go:generate gorunpkg github.com/vektah/gqlgen --out generated.go

package todo

Expand Down
2 changes: 1 addition & 1 deletion test/resolvers_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:generate gorunpkg github.com/vektah/gqlgen -config config.yaml
//go:generate gorunpkg github.com/vektah/gqlgen --config config.yaml

package test

Expand Down

0 comments on commit 39f9dbf

Please sign in to comment.