title: Difference between '-std' and '--std' compiler flags
body: <p>I've noticed that both <code>-std</code> and <code>--std</code> works for setting the standard for compiling. What is the difference between using a <code>-</code> and <code>--</code> before <code>std</code>?</p>
  
  <p>I've googled and found <a href="https://gcc.gnu.org/onlinedocs/gcc/Standards.html" rel="nofollow">this</a>, but it doesn't seem to mention anything about a single hyphen vs a double hyphen before a <code>std</code>.</p>