Apache Commons CLI: replacement for deprecated OptionBuilder?
<p>IntelliJ shows that OptionBuilder is deprecated in this example code from <a href="http://commons.apache.org/proper/commons-cli/usage.html">http://commons.apache.org/proper/commons-cli/usage.html</a>.</p>

<p>What should I use as the replacement?</p>

<pre><code>import org.apache.commons.cli.*;

Options options = new Options();
options.addOption(OptionBuilder.withLongOpt( "block-size" )
       .withDescription( "use SIZE-byte blocks" )
       .hasArg()
       .withArgName("SIZE")
       .create());
</code></pre>