Skip to content

Commit

Permalink
Fix compilation flags + typos in help strings
Browse files Browse the repository at this point in the history
  • Loading branch information
Félix Cantournet committed Jun 28, 2017
1 parent 03e6c55 commit d5f78ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ default: build
build:
@echo "--> Compiling the project"
mkdir -p bin
go build -ldflags "-X main.Version=${VERSION}" -o bin/${NAME} .
go build -a -ldflags "-X main.Version=${VERSION}" -o bin/${NAME} .

static:
@echo "--> Compiling the static binary"
mkdir -p bin
CGO_ENABLED=0 GOOS=linux go build -a -tags netgo -ldflags "-w -X main.Version=${VERSION}" -o bin/${NAME} .
CGO_ENABLED=0 GOOS=linux go build -a -tags netgo -ldflags "-X main.Version=${VERSION}" -o bin/${NAME} .

docker-build:
@echo "--> Compiling the project"
Expand Down
4 changes: 2 additions & 2 deletions cmd/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -504,12 +504,12 @@ func (r *syncCommand) getCommand() cli.Command {
},
cli.BoolFlag{
Name: "skip-backends",
Usage: "wheather or not to skip synchronizing the backends",
Usage: "wheather or not to skip synchronizing the secrets backends",
Destination: &r.skipBackends,
},
cli.BoolFlag{
Name: "skip-auths",
Usage: "wheather or not to skip synchronizing the backends",
Usage: "wheather or not to skip synchronizing the auths backends",
Destination: &r.skipAuths,
},
cli.BoolFlag{
Expand Down

0 comments on commit d5f78ae

Please sign in to comment.