title: boolean options from boost program options
body: <p>I am using boost program options to get boolean values from command line argument. I would like my argument to be specified as "Y", Yes", "N", "No".</p>
  
  <p>Actually my code did it using a temporary string that </p>
  
  <ol>
  <li>will be parsed by <code>boost program options</code></li>
  <li>checked against "Y", "Yes", "N" or "No"</li>
  <li>assigned to the boolean variable member.</li>
  </ol>
  
  <p>On top of that I am also using another temp string getting the default value.</p>
  
  <p>I did all that work since I tried thee code below that didn't work</p>
  
  <pre><code>      namespace pod = boost::program_options;
  
        ("Section.Flag", 
             pod::value&lt;bool&gt;(&amp;myFlag_bool)-&gt;default_value( false ), 
             "description")
  </code></pre>
  
  <p>Do you know whether boost program options can be used some better then the one I use to achieve that?</p>