summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/argv.go b/argv.go
index 52a6e02..c54226e 100644
--- a/argv.go
+++ b/argv.go
@@ -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
}