diff options
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -7,11 +7,11 @@ package main */ type args struct { - Repo string `arg:"positional" help:"go import path"` - Increment bool `arg:"--increment" help:"auto increment"` - Release bool `arg:"--release" help:"do a release an exit"` - DryRun bool `arg:"--dry-run" help:"don't actually do the release"` - Reason string `arg:"--reason" help:"tag message"` + Repo string `arg:"positional" help:"go import path"` + Increment bool `arg:"--increment" help:"auto increment"` + Release bool `arg:"--release" help:"do a release an exit"` + DryRun bool `arg:"--dry-run,env:DRYRUN" help:"don't actually do the release"` + Reason string `arg:"--reason" help:"tag message"` } func (a args) Description() string { @@ -24,5 +24,5 @@ the repositories in the go.sum file using git clone` } func (args) Version() string { - return "go-clone " + VERSION + return "guireleaser " + VERSION } |
