Skip to content

Commit e8920fc

Browse files
committed
changing StringSliceVar to StringArrayVar for buildProperties flag
1 parent 78c6480 commit e8920fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: cli/compile/compile.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ func NewCommand() *cobra.Command {
6969
command.Flags().StringVarP(&exportFile, "output", "o", "", "Filename of the compile output.")
7070
command.Flags().StringVar(&buildPath, "build-path", "",
7171
"Path where to save compiled files. If omitted, a directory will be created in the default temporary path of your OS.")
72-
command.Flags().StringSliceVar(&buildProperties, "build-properties", []string{},
72+
command.Flags().StringArrayVar(&buildProperties, "build-properties", []string{},
7373
"List of custom build properties separated by commas. Or can be used multiple times for multiple properties.")
7474
command.Flags().StringVar(&warnings, "warnings", "none",
7575
`Optional, can be "none", "default", "more" and "all". Defaults to "none". Used to tell gcc which warning level to use (-W flag).`)

0 commit comments

Comments
 (0)