title: Are there any naming conventions for command line arguments?
body: <p>Am reviewing a command line driven Java application with command line switches in lower camel case like this:</p>
  <pre><code>myapp aSwitch anotherSwitch aThirdSwitch
  </code></pre>
  <p>Am thinking all lower case and leading hyphens may be preferable:</p>
  <pre><code>myapp -aswitch -anotherswitch -athirdswitch
  </code></pre>
  <p>...or perhaps:</p>
  <pre><code>myapp -a-switch -another-switch -a-third-switch
  </code></pre>
  <p>... or maybe:</p>
  <pre><code>myapp --a-switch --another-switch --a-third-switch
  </code></pre>
  <p>But struggling to come up with a compelling justification. Would like to follow current conventions and be cross-platform compatible, at least for Windows/Linux.</p>
  <p>Grateful for advice on what is the most commonly used convention out of these - and any reasoning behind it.</p>