summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-27 06:26:01 -0500
committerJeff Carr <[email protected]>2025-03-27 06:26:01 -0500
commit1b7d44ec42bc5be8f07bb67c0fbbddf36f2e3050 (patch)
tree9fc2157180c98e1b1d3493516ec73394343d2fbf /argv.go
parentebf856a579281c4aea7630d3cc712adac5bb21d7 (diff)
add an enum for messages
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/argv.go b/argv.go
index b85be17..0f248cb 100644
--- a/argv.go
+++ b/argv.go
@@ -19,7 +19,8 @@ type args struct {
Regret bool `arg:"--regret" help:"ignore needed UUID. You will eventually regret this."`
Delete bool `arg:"--delete" help:"use delete with copy experiment"`
DryRun bool `arg:"--dry-run" help:"check the .proto syntax, but don't do anything"`
- Format bool `arg:"--format" help:"only reformat the .proto file"`
+ Format bool `arg:"--format" help:"eformat the .proto file and exit"`
+ NoFormat bool `arg:"--no-format" help:"do not auto-reformat the .proto file"`
GoSrc string `arg:"--go-src" help:"default is ~/go/src. could be set to your go.work path"`
GoPath string `arg:"--gopath" help:"the gopath of this repo"`
Identify string `arg:"--identify" help:"identify file"`