diff options
| author | Jeff Carr <[email protected]> | 2025-03-27 15:03:11 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-03-27 15:03:11 -0500 |
| commit | 4b7f42004512c83869370c20cc22398b1a4a2ab2 (patch) | |
| tree | d86665981e1e56ae597a4775ef614bbbc5638e59 /argv.go | |
| parent | be94cbe32077eeee49969adffc169f879f153ab1 (diff) | |
a real world example
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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"` |
