title: Access command line options in Julia
body: <p>When I type</p>
  
  <pre><code>$ julia -p 2 run.jl
  </code></pre>
  
  <p>is there any way to access the <code>2</code> from within <code>run.jl</code>? I know that one can use <code>ARGS</code> to access arguments, for example</p>
  
  <pre><code>#run.jl
  println(ARGS[2])
  </code></pre>
  
  <p>and running</p>
  
  <pre><code>$ julia -p 2 run.jl a b c d
  </code></pre>
  
  <p>would return <code>b</code>. But I can't seem to find a way to access the options <code>-p &lt;n&gt;</code>.</p>