title: How to pass boolean arguments to go flags
body: <p>I have a simple boolean flag I wish to pass args to:</p>
  
  <pre><code>import (
      "flag"
      ...
   )
  
  var debugMode = flag.Bool("debug", false, "run in debug mode")
  flag.Parse()
  if *debugMode == true {
      //print something
  }
  </code></pre>
  
  <p>This code compiles and runs - but the variable is always true. I use the following call:</p>
  
  <pre><code>my_application -debug false
  </code></pre>
  
  <p>and it's never false. What am I doing wrong?</p>