title: How to specify multiple options using apache commons cli?
body: <p>I want something like:  </p>
  
  <pre><code>java programName  -jobs1 -C 10 -W 20
  java programName  -job2
  java programName  -job3
  </code></pre>
  
  <p>With contents:</p>
  
  <pre><code>Option o1 = new Option("job2", "some desc");
  Option o2 = new Option("job3" , "(some desc")
  
  Option o3 = OptionBuilder.hasArgs(2).withArgName( "W" ).withArgName("C").withDescription(  "Some desc" ).create("job1")
  Option o4 = new Option("help");
  
  Options os = new Options().addOption(o1).addOption(o2).addOption(o3).addOption(o4).
  
  HelpFormatter formatter = new HelpFormatter();
  formatter.printHelp( "ProgramName", options );
  </code></pre>
  
  <p>...where the output is:</p>
  
  <pre><code>Usage ProgramName
   -job1 &lt;c&gt;  Some Desc
   -job2      Some desc
   -job3      Some desc
   -help      Print this message
  </code></pre>
  
  <p>I expect for <code>-job1</code> it should print <code>-job1 -C &lt;&gt;   -W &lt;&gt;</code></p>
  
  <p>Am I missing something? It doesn't work with more than one argument. By the way, I used <code>commons-cli 1.2</code>.</p>