Skip to content

Commit

Permalink
fix CLI parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
zimbatm committed May 1, 2019
1 parent 83a9cc5 commit 239bacc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ var GlobalFlags = []cli.Flag{
Usage: "git branch",
EnvVar: "BUILDKITE_BRANCH,CIRCLE_BRANCH,TRAVIS_BRANCH",
}),
altsrc.NewBoolFlag(cli.BoolFlag{
Name: "git-ref-commit",
Usage: "use the commit as deployment reference instead of branch",
}),
altsrc.NewStringFlag(cli.StringFlag{
Name: "git-origin",
Usage: "URL of the repo",
EnvVar: "BUILDKITE_REPO,CIRCLE_REPOSITORY_URL", // Travis doesn't have an equivalent
}),
cli.BoolFlag{
Name: "git-ref-commit",
Usage: "use the commit as deployment reference instead of branch",
},
cli.GenericFlag{
Name: "github-token",
Usage: "Github Personal access token to interact with the Github API",
Expand Down

0 comments on commit 239bacc

Please sign in to comment.