We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bd181f commit 2f940a2Copy full SHA for 2f940a2
cmd/tlgen/main2.go
@@ -95,6 +95,9 @@ func runMain(argv *arguments) error {
95
if argv.SchemaFileName != "" {
96
return fmt.Errorf("--schema argument is removed, specify 1 or more input TL schema filenames after flags")
97
}
98
+ if argv.GenerateRPCCode && argv.BasicRPCPath == "" {
99
+ return fmt.Errorf("--basicRPCPath must be specified or set --generateRPCCode=false if you don't use rpc code")
100
+ }
101
args = append(args, flag.Args()...)
102
if len(args) == 0 {
103
return fmt.Errorf("specify 1 or more input TL schema filenames after flags")
0 commit comments