summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
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 {