ava.lang.String[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOptionPos</h4>
<pre>public static&nbsp;int&nbsp;getOptionPos(java.lang.String&nbsp;flag,
               java.lang.String[]&nbsp;options)</pre>
<div class="block">Gets the index of an option or flag indicated by a flag "-String" from the
 given array of strings. Stops searching at the first marker "--".</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>flag</code> - the String indicating the option.</d