/* 
 * Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License. 
 */
package org.ngrinder;

import com.beust.jcommander.DynamicParameter;
import com.beust.jcommander.Parameter;
import com.beust.jcommander.Parameters;

import java.util.HashMap;
import java.util.Map;

/**
 * Starter parameters.
 *
 * @since 3.3
 */
@Parameters(separators = "=")
public class StarterParam {

	@Parameter(names = "-mode", required = false, description = "run mode. The agent/monitor modes are available.")
	public String mode = null;

	@Parameter(names = "-command", required = false, description = "run mode. stop/start operations are available.")
	public String command = "start";

	@Parameter(names = {"-overwrite-config", "-o"}, required = false, description = "true if the local __agent.conf file should overwrite the .ngrinder_agent/agent.conf")
	public boolean overwriteConfig = false;

	@Parameter(names = "-agent-home", required = false,
			description = "the agent home path. The default is ~/.ngrinder_agent")
	public String agentHome = null;

	@Parameter(names = "-controller-ip", required = false, description = "the controller ip.")
	public String controllerIP = null;

	@Parameter(names = "-controller-port", required = false, description = "the controller ip.")
	public Integer controllerPort = null;

	@Parameter(names = "-region", required = false, description = "the controller ip.")
	public String region = null;


	@Parameter(names = "-host-id", required = false, description = "the agent host id.")
	public String hostId = null;

	@SuppressWarnings("FieldCanBeLocal")
	@Parameter(names = {"-help", "-?", "-h"}, description = "prints this message")
	public Boolean help = false;

	@DynamicParameter(names = "-D", description = "Dynamic parameters", hidden = true)
	public Map<String, String> params = new HashMap<String, String>();
}

@@ -1081,16 +1081,20 @@
 un mode.
+ The
  stop/st
@@ -1101,18 +1101,15 @@
 art 
-operations
+command
  are
@@ -1215,33 +1215,36 @@
 equired = false,
- 
+%0A%09%09%09
 description = %22t
@@ -1246,50 +1246,17 @@
  = %22
-true if the local __agent.conf file should
+Overwrite
  ove
@@ -1266,16 +1266,25 @@
 ite the 
+existing 
 .ngrinde
@@ -1301,16 +1301,44 @@
 ent.conf
+ with the local __agent.conf
 %22)%0A%09publ

Modify description