diff options
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -7,14 +7,12 @@ package main var argv args type args struct { - All bool `arg:"--all" default:"false" help:"redo every repo found in go/src or go.work"` - Auto bool `arg:"--auto" help:"don't approve via STDIN"` Trim bool `arg:"--trim" default:"true" help:"trim entries from go.sum"` Verbose bool `arg:"--verbose" help:"show more"` - Notes bool `arg:"--metadata" help:"save as git metadata (notes)"` - Restore bool `arg:"--restore" default:"true" help:"restore from git metadata"` + Restore bool `arg:"--restore" help:"only restore from go/pkg/mod/"` Force bool `arg:"--force" help:"remove things and redo them no matter what"` - Strict bool `arg:"--strict" default:"false" help:"never make go.* files unless everything is perfect"` + Strict bool `arg:"--strict" help:"never make go.* files unless everything is perfect"` + Purge bool `arg:"--purge" help:"purge all the git notes. this might be bad for you."` } func (args) Version() string { |
