Skip to content

Commit

Permalink
fix: git user name.
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Aug 7, 2020
1 parent 2a60610 commit 15c2b6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func main() {
flag.StringVar(&cfg.Target.RepoName, "dst-repo-name", "doc", "Name of the targeted doc repo.")
flag.StringVar(&cfg.Target.DocPath, "dst-doc-path", "./traefik", "Path to put the documentation.")

flag.StringVar(&cfg.Git.UserEmail, "git-user-name", os.Getenv("GIT_USER_NAME"), "UserName used to commit the documentation. [GIT_USER_NAME]")
flag.StringVar(&cfg.Git.UserName, "git-user-name", os.Getenv("GIT_USER_NAME"), "UserName used to commit the documentation. [GIT_USER_NAME]")
flag.StringVar(&cfg.Git.UserEmail, "git-user-email", os.Getenv("GIT_USER_EMAIL"), "Email used to commit the documentation. [GIT_USER_EMAIL]")

flag.BoolVar(&cfg.Debug, "debug", false, "Debug mode")
Expand Down

0 comments on commit 15c2b6f

Please sign in to comment.