diff options
| author | Jeff Carr <[email protected]> | 2025-10-05 17:24:59 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-05 17:24:59 -0500 |
| commit | 13b1e212b3db1004ff0f45af1702d0e5143f74e9 (patch) | |
| tree | 6fbd5ad9151718c74864eccddc45c1de2125415a /argv.go | |
| parent | b2f7bf5222fd8dcb43ab4c11f57788f2284f9de3 (diff) | |
misc changes for not killing autogen files in master
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 23 |
1 files changed, 12 insertions, 11 deletions
@@ -13,16 +13,17 @@ import ( */ type args struct { - Quick *QuickCmd `arg:"subcommand:quick" help:"only do repos with patches"` - DryRun bool `arg:"--dry-run,env:DRYRUN" help:"don't actually do the release"` - Minor bool `arg:"--minor" help:"increment minor verion numbers"` - Protobuf bool `arg:"--protobuf" help:"increment protobuf repos"` - Verbose bool `arg:"--verbose" help:"talk alot"` - Full bool `arg:"--full" help:"build every package"` - Reason string `arg:"--reason" help:"tag message"` - Force bool `arg:"--force" help:"try harder than normal"` - AutoRun bool `arg:"--auto-run" help:"automatically process everything"` - Port int `arg:"--port" default:"9419" help:"do fun stuff with curl"` + Quick *QuickCmd `arg:"subcommand:quick" help:"only do repos with patches"` + DryRun bool `arg:"--dry-run,env:DRYRUN" help:"don't actually do the release"` + Minor bool `arg:"--minor" help:"increment minor verion numbers"` + Protobuf bool `arg:"--protobuf" help:"increment protobuf repos"` + KeepGOMOD bool `arg:"--keep-gomod" help:"keep go.* and *.pb.go files in master"` + Verbose bool `arg:"--verbose" help:"talk alot"` + Full bool `arg:"--full" help:"build every package"` + Reason string `arg:"--reason" help:"tag message"` + Force bool `arg:"--force" help:"try harder than normal"` + AutoRun bool `arg:"--auto-run" help:"automatically process everything"` + Port int `arg:"--port" default:"9419" help:"do fun stuff with curl"` } func (args) Examples() string { @@ -67,7 +68,7 @@ func (args) Buildtime() (string, string) { func (a args) DoAutoComplete(pb *prep.Auto) { if pb.Cmd == "" { - pb.Autocomplete3([]string{"--bash", "quick", "--dry-run", "--full", "--reason", "--version", "--auto-run"}) + pb.Autocomplete3([]string{"--bash", "quick", "--dry-run", "--full", "--reason", "--version", "--auto-run", "--keep-gomod"}) } else { pb.SubCommand(pb.Goargs...) } |
