[camel-k] branch master updated: Fixed --property flag, now commas can be used inside flag's value.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[camel-k] branch master updated: Fixed --property flag, now commas can be used inside flag's value.

lburgazzoli-2
This is an automated email from the ASF dual-hosted git repository.

lburgazzoli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/master by this push:
     new d142569  Fixed --property flag, now commas can be used inside flag's value.
d142569 is described below

commit d1425694ae21d65d194c94584c1d247fac371bf0
Author: Andrea Tarocchi <[hidden email]>
AuthorDate: Mon Feb 11 00:44:55 2019 +0100

    Fixed --property flag, now commas can be used inside flag's value.
---
 pkg/cmd/run.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/cmd/run.go b/pkg/cmd/run.go
index 5c6f547..ee2c7cd 100644
--- a/pkg/cmd/run.go
+++ b/pkg/cmd/run.go
@@ -69,7 +69,7 @@ func newCmdRun(rootCmdOptions *RootCmdOptions) *cobra.Command {
  cmd.Flags().StringSliceVarP(&options.Dependencies, "dependency", "d", nil, "The integration dependency")
  cmd.Flags().BoolVarP(&options.Wait, "wait", "w", false, "Waits for the integration to be running")
  cmd.Flags().StringVarP(&options.IntegrationContext, "context", "x", "", "The contex used to run the integration")
- cmd.Flags().StringSliceVarP(&options.Properties, "property", "p", nil, "Add a camel property")
+ cmd.Flags().StringArrayVarP(&options.Properties, "property", "p", nil, "Add a camel property")
  cmd.Flags().StringSliceVar(&options.ConfigMaps, "configmap", nil, "Add a ConfigMap")
  cmd.Flags().StringSliceVar(&options.Secrets, "secret", nil, "Add a Secret")
  cmd.Flags().StringSliceVar(&options.Repositories, "repository", nil, "Add a maven repository")