summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-29 12:35:12 -0600
committerJeff Carr <[email protected]>2024-11-29 12:35:12 -0600
commit7a1b9608581ad4f2169198be1cbd30093beaa5b3 (patch)
tree93d0c718c8f62ab13658bfd399e8876c63d6bc1e /argv.go
parent45b343bee8b1b38ad89899f31624613925bb408e (diff)
marshal argv options
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go12
1 files changed, 7 insertions, 5 deletions
diff --git a/argv.go b/argv.go
index 50ac4d9..fd9f766 100644
--- a/argv.go
+++ b/argv.go
@@ -9,11 +9,13 @@ package main
var argv args
type args struct {
- LoBase string `arg:"--lobase" help:"lowercase basename"`
- UpBase string `arg:"--upbase" help:"uppercase basename"`
- Proto string `arg:"--proto" help:"the .proto filename"`
- Sort []string `arg:"--sort" help:"how and what to sort on"`
- DryRun bool `arg:"--dry-run" help:"show what would be run"`
+ LoBase string `arg:"--lobase" help:"lowercase basename"`
+ UpBase string `arg:"--upbase" help:"uppercase basename"`
+ Proto string `arg:"--proto" help:"the .proto filename"`
+ Sort []string `arg:"--sort" help:"how and what to sort on"`
+ Marshal []string `arg:"--marshal" help:"what to marshal on"`
+ NoMarshal bool `arg:"--no-marshal" help:"do not make a marshal.pb.go file"`
+ DryRun bool `arg:"--dry-run" help:"show what would be run"`
}
func (a args) Description() string {