multiple parameters not getting passed when I start my spring boot application in command line
<p>I want to override certain properties during deployment of my spring boot application.</p>

<p>when I try the following it works</p>

<p><code>sudo /etc/init.d/myapp start --app.env=prod</code></p>

<p>I see the <code>app.env</code> is correctly set to prod (my <code>/health</code> just echoes this values)</p>

<p>however when I set more than one property it did not work,</p>

<p><code>sudo /etc/init.d/myapp start --app.env=prod --version=2.3.4</code></p>

<p>I see only app.env is correctly set. the version value is not overridden.</p>

<p>why is it so? what is the right way to pass multiple parameters.</p>

<p>NOTE: I want to pass username and password for datasources. but for testing purposes, I kept it simple to override these properties.</p>