title: parsing command line arguments based on '='
body: <p>I am using <a href="http://commons.apache.org/cli/" rel="nofollow">apache commons.cli</a> library to parse the command line arguments. The default parsing behavior is that it parses the arguments based on space. I am using ant to pass arguments to my Java program and the ant is using a slightly different syntax and is using <code>=</code> instead of space. How can I change the behavior of my parsing that it parses based on  <code>=</code>
  and not space ? 
  My parsing currently looks like this :</p>
  
  <pre><code>    Options options = new Options();
      options.addOption("Dkey", true, "some parameter");
      CommandLineParser parser = new PosixParser();
      CommandLine cmd = parser.parse(options, args);
  </code></pre>