summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-01 21:46:21 -0500
committerJeff Carr <[email protected]>2024-11-01 21:46:21 -0500
commitd0e1372a6e70493debbf6b0595ac3b2cec3c0a2e (patch)
tree2fbfb4a02c741c41346090b6aa5fd34fd061a8c4 /argv.go
parentc8aded73947a710e70d582731bdbaf1cb4b2ef11 (diff)
old code from forgotten commit
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go11
1 files changed, 6 insertions, 5 deletions
diff --git a/argv.go b/argv.go
index c54226e..0d7aa25 100644
--- a/argv.go
+++ b/argv.go
@@ -7,11 +7,12 @@ 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,env:DRYRUN" 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"`
+ DumpVersions bool `arg:"--dump-versions" help:"dump the versions file for go.wit.com"`
}
func (a args) Description() string {