Skip to content

Commit

Permalink
fix(cli): include env var name in --confirm help
Browse files Browse the repository at this point in the history
Do not have it automatically appended.
  • Loading branch information
dbohdan committed Feb 18, 2025
1 parent 3778d45 commit 6448b8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/pago/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import (

type CLI struct {
// Global options.
Confirm bool `env:"${confirmEnv}" default:"true" negatable:"" help:"Enter passwords twice"`
Confirm bool `env:"${confirmEnv}" default:"true" negatable:"" help:"Enter passwords twice (${env})"`
Dir string `short:"d" env:"${dataDirEnv}" default:"${defaultDataDir}" help:"Store location (${env})"`
Git bool `env:"${gitEnv}" default:"true" negatable:"" help:"Commit to Git (${env})"`
GitEmail string `env:"${gitEmailEnv}" default:"${defaultGitEmail}" help:"Email for Git commits (${env})"`
Expand Down

0 comments on commit 6448b8f

Please sign in to comment.