Skip to content

Commit d5f78ae

Browse files
author
Félix Cantournet
committed
Fix compilation flags + typos in help strings
1 parent 03e6c55 commit d5f78ae

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ default: build
1313
build:
1414
@echo "--> Compiling the project"
1515
mkdir -p bin
16-
go build -ldflags "-X main.Version=${VERSION}" -o bin/${NAME} .
16+
go build -a -ldflags "-X main.Version=${VERSION}" -o bin/${NAME} .
1717

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

2323
docker-build:
2424
@echo "--> Compiling the project"

cmd/sync.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,12 +504,12 @@ func (r *syncCommand) getCommand() cli.Command {
504504
},
505505
cli.BoolFlag{
506506
Name: "skip-backends",
507-
Usage: "wheather or not to skip synchronizing the backends",
507+
Usage: "wheather or not to skip synchronizing the secrets backends",
508508
Destination: &r.skipBackends,
509509
},
510510
cli.BoolFlag{
511511
Name: "skip-auths",
512-
Usage: "wheather or not to skip synchronizing the backends",
512+
Usage: "wheather or not to skip synchronizing the auths backends",
513513
Destination: &r.skipAuths,
514514
},
515515
cli.BoolFlag{

0 commit comments

Comments
 (0)