summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-27 15:03:11 -0500
committerJeff Carr <[email protected]>2025-03-27 15:03:11 -0500
commit4b7f42004512c83869370c20cc22398b1a4a2ab2 (patch)
treed86665981e1e56ae597a4775ef614bbbc5638e59 /argv.go
parentbe94cbe32077eeee49969adffc169f879f153ab1 (diff)
a real world example
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 0f248cb..9b05d60 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:"eformat the .proto file and exit"`
+ Format bool `arg:"--format" help:"format the .proto file and exit"`
+ Comments bool `arg:"--format-comments" help:"enforce parseable comments in a .proto file"`
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"`