From 4b7f42004512c83869370c20cc22398b1a4a2ab2 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 27 Mar 2025 15:03:11 -0500 Subject: a real world example --- argv.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'argv.go') 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"` -- cgit v1.2.3