Description of problem: Attempting to start the JON Agent with the -g option throws an invalid option -- g error (<- which in itself is probably an issue given that it should be '-g'). However, using it's alternate "--purgeplugins" works. This is probably just a bad condition on a case statement or if statement somewhere in the org.rhq.enterprise.agent.AgentMain code. Version-Release number of selected component (if applicable): 3.0.0-BETA1 How reproducible: Everytime Steps to Reproduce: 1.Unpack a jon agent 2.Setup and start a jon agent once, then shutdown 3.Restart the jon agent with ./rhq-agent.sh -g Actual results: Shows the help display with an error at the top that "--g" is an invalid option Expected results: To start the agent and purge the plugins Additional info: