elasticsearch/logstash — pull request #1168 by jordansissel (2014-03-12 23:41:46+00:00)
Title: Fix help being printed twice.

The bug was caused by 'agent.parse' failing with Clamp::HelpWanted and
then we would continue onward to try and actually run the agent.

Now we only run the agent if parsing args succeeds.

Fixes LOGSTASH-1952