diff --git a/VERSION b/VERSION index 7deb86f..d5cc44d 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.7.1 \ No newline at end of file +0.7.2 \ No newline at end of file diff --git a/cmd/kcl/commands/flags.go b/cmd/kcl/commands/flags.go index c046f98..6c47bd2 100644 --- a/cmd/kcl/commands/flags.go +++ b/cmd/kcl/commands/flags.go @@ -24,8 +24,8 @@ func appendLangFlags(o *options.RunOptions, flags *pflag.FlagSet) { } func appendRunnerFlags(o *options.RunOptions, flags *pflag.FlagSet) { - flags.StringSliceVarP(&o.Arguments, "argument", "D", []string{}, - "Specify the top-level argument") + flags.StringArrayVarP(&o.Arguments, "argument", "D", []string{}, + "Specify the top-level argument") flags.StringSliceVarP(&o.Settings, "setting", "Y", []string{}, "Specify the command line setting files") flags.StringSliceVarP(&o.Overrides, "overrides", "O", []string{}, diff --git a/pkg/version/version.go b/pkg/version/version.go index afd1a81..34d41f9 100644 --- a/pkg/version/version.go +++ b/pkg/version/version.go @@ -33,8 +33,9 @@ func getVersion(version string) string { // All the kpm versions. const ( - VersionTypeLatest = Version_0_7_1 + VersionTypeLatest = Version_0_7_2 + Version_0_7_2 VersionType = "0.7.2" Version_0_7_1 VersionType = "0.7.1" Version_0_7_0 VersionType = "0.7.0" Version_0_7_0_beta_2 VersionType = "0.7.0-beta.2"