Skip to content

Commit 6d37264

Browse files
committed
struct2ts cmd fix
1 parent fac0bfe commit 6d37264

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/struct2ts/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func init() {
4444
KP.Flag("no-date", "Don't automatically handle time.Unix () <-> JS Date().").Short('D').BoolVar(&opts.NoDate)
4545
KP.Flag("no-helpers", "Don't output the helpers.").Short('H').BoolVar(&opts.NoHelpers)
4646
KP.Flag("no-default-values", "Don't assign default/zero values in the ctor.").Short('N').BoolVar(&opts.NoAssignDefaults)
47-
KP.Flag("no-capitalize", "Don't capitalize TS class names.").Short('C').BoolVar(&opts.NoCapitalize)
47+
KP.Flag("no-capitalize", "Don't capitalize TS class names.").Short('c').BoolVar(&opts.NoCapitalize)
4848
KP.Flag("interface", "Only generate an interface (disables all the other options).").Short('i').BoolVar(&opts.InterfaceOnly)
4949

5050
KP.Flag("src-only", "Only output the Go code (helpful if you want to edit it yourself).").Short('s').BoolVar(&srcOnly)

0 commit comments

Comments
 (0)