Skip to content

Commit dd9d129

Browse files
committed
Fix --protected arg not working
1 parent 57a526c commit dd9d129

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ func runClient(url string, args []string, runtime string, typescript bool) error
101101
var public bool
102102
pflag.BoolVar(&public, "public", false, "Make the created game protected.")
103103
var protected bool
104-
pflag.BoolVar(&public, "protected", false, "Make the created game protected.")
104+
pflag.BoolVar(&protected, "protected", false, "Make the created game protected.")
105105
pflag.CommandLine.Parse(args)
106106

107107
var op string

0 commit comments

Comments
 (0)